Lines Matching full:be
42 ASSERT_PRINT(resolve->GetPromise().IsECMAObject(), "Resolve: promise must be js object"); in Resolve()
44 // 2. Let promise be the value of F's [[Promise]] internal slot. in Resolve()
45 // 3. Let alreadyResolved be the value of F's [[AlreadyResolved]] internal slot. in Resolve()
56 // a. Let selfResolutionError be a newly created TypeError object. in Resolve()
61 …tory->GetJSError(ErrorType::TYPE_ERROR, "Resolve: The promise and resolution cannot be the same."); in Resolve()
71 // 8. Let then be Get(resolution, "then"). in Resolve()
83 // 10. Let thenAction be then.[[value]]. in Resolve()
114 ASSERT_PRINT(reject->GetPromise().IsECMAObject(), "Reject: promise must be js object"); in Reject()
116 // 2. Let promise be the value of F's [[Promise]] internal slot. in Reject()
117 // 3. Let alreadyResolved be the value of F's [[AlreadyResolved]] internal slot. in Reject()
146 // 2. Let promiseCapability be the value of F's [[Capability]] internal slot. in Executor()
150 …THROW_TYPE_ERROR_AND_RETURN(thread, "Executor: resolve should be undefine!", JSTaggedValue::Undefi… in Executor()
154 …THROW_TYPE_ERROR_AND_RETURN(thread, "Executor: reject should be undefine!", JSTaggedValue::Undefin… in Executor()
176 // 1. Let alreadyCalled be the value of F's [[AlreadyCalled]] internal slot. in ResolveElementFunction()
185 // 4. Let index be the value of F's [[Index]] internal slot. in ResolveElementFunction()
187 // 5. Let values be the value of F's [[Values]] internal slot. in ResolveElementFunction()
189 // 6. Let promiseCapability be the value of F's [[Capabilities]] internal slot. in ResolveElementFunction()
192 // 7. Let remainingElementsCount be the value of F's [[RemainingElements]] internal slot. in ResolveElementFunction()
203 // a. Let valuesArray be CreateArrayFromList(values). in ResolveElementFunction()
260 // 1. Let F be the active function object. in ThenFinally()
268 // 2. Let onFinally be F.[[OnFinally]]. in ThenFinally()
272 // 4. Let result be ? Call(onFinally, undefined). in ThenFinally()
279 // 5. Let C be F.[[Constructor]]. in ThenFinally()
283 // 7. Let promise be ? PromiseResolve(C, result). in ThenFinally()
287 // 8. Let valueThunk be equivalent to a function that returns value. in ThenFinally()
302 // 1. Let F be the active function object. in CatchFinally()
309 // 2. Let onFinally be F.[[OnFinally]]. in CatchFinally()
313 // 4. Let result be ? Call(onFinally, undefined). in CatchFinally()
320 // 5. Let C be F.[[Constructor]]. in CatchFinally()
324 // 7. Let promise be ? PromiseResolve(C, result). in CatchFinally()
328 // 8. Let thrower be equivalent to a function that throws reason. in CatchFinally()
352 // a. Let xConstructor be ? Get(x, "constructor"). in PromiseResolve()
361 // 3. Let promiseCapability be ? NewPromiseCapability(C). in PromiseResolve()
367 // 6. Let resolveResult be Call(promiseCapability.[[Resolve]], undefined, «x»). in PromiseResolve()
385 // 1. Let F be the active function object. in AllSettledResolveElementFunction()
392 // 2. Let alreadyCalled be F.[[AlreadyCalled]]. in AllSettledResolveElementFunction()
401 // 5. Let index be F.[[Index]]. in AllSettledResolveElementFunction()
403 // 6. Let values be F.[[Values]]. in AllSettledResolveElementFunction()
406 // 7. Let promiseCapability be F.[[Capability]]. in AllSettledResolveElementFunction()
409 // 8. Let remainingElementsCount be F.[[RemainingElements]]. in AllSettledResolveElementFunction()
412 // 9. Let obj be ! OrdinaryObjectCreate(%Object.prototype%). in AllSettledResolveElementFunction()
433 // a. Let valuesArray be CreateArrayFromList(values). in AllSettledResolveElementFunction()
450 // 1. Let F be the active function object. in AllSettledRejectElementFunction()
457 // 2. Let alreadyCalled be F.[[AlreadyCalled]]. in AllSettledRejectElementFunction()
466 // 5. Let index be F.[[Index]]. in AllSettledRejectElementFunction()
468 // 6. Let values be F.[[Values]]. in AllSettledRejectElementFunction()
471 // 7. Let promiseCapability be F.[[Capability]]. in AllSettledRejectElementFunction()
474 // 8. Let remainingElementsCount be F.[[RemainingElements]]. in AllSettledRejectElementFunction()
477 // 9. Let obj be ! OrdinaryObjectCreate(%Object.prototype%). in AllSettledRejectElementFunction()
498 // a. Let valuesArray be CreateArrayFromList(values). in AllSettledRejectElementFunction()
515 // 1. Let F be the active function object. in AnyRejectElementFunction()
529 // 4. Let index be F.[[Index]]. in AnyRejectElementFunction()
531 // 5. Let errors be F.[[Errors]]. in AnyRejectElementFunction()
534 // 6. Let promiseCapability be F.[[Capability]]. in AnyRejectElementFunction()
537 // 7. Let remainingElementsCount be F.[[RemainingElements]]. in AnyRejectElementFunction()
549 // a. Let error be a newly created AggregateError object. in AnyRejectElementFunction()