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()
256 // 1. Let F be the active function object. in ThenFinally()
263 // 2. Let onFinally be F.[[OnFinally]]. in ThenFinally()
267 // 4. Let result be ? Call(onFinally, undefined). in ThenFinally()
274 // 5. Let C be F.[[Constructor]]. in ThenFinally()
278 // 7. Let promise be ? PromiseResolve(C, result). in ThenFinally()
282 // 8. Let valueThunk be equivalent to a function that returns value. in ThenFinally()
297 // 1. Let F be the active function object. in CatchFinally()
303 // 2. Let onFinally be F.[[OnFinally]]. in CatchFinally()
307 // 4. Let result be ? Call(onFinally, undefined). in CatchFinally()
314 // 5. Let C be F.[[Constructor]]. in CatchFinally()
318 // 7. Let promise be ? PromiseResolve(C, result). in CatchFinally()
322 // 8. Let thrower be equivalent to a function that throws reason. in CatchFinally()
345 // a. Let xConstructor be ? Get(x, "constructor"). in PromiseResolve()
354 // 3. Let promiseCapability be ? NewPromiseCapability(C). in PromiseResolve()
359 // 6. Let resolveResult be Call(promiseCapability.[[Resolve]], undefined, «x»). in PromiseResolve()
377 // 1. Let F be the active function object. in AllSettledResolveElementFunction()
383 // 2. Let alreadyCalled be F.[[AlreadyCalled]]. in AllSettledResolveElementFunction()
392 // 5. Let index be F.[[Index]]. in AllSettledResolveElementFunction()
394 // 6. Let values be F.[[Values]]. in AllSettledResolveElementFunction()
397 // 7. Let promiseCapability be F.[[Capability]]. in AllSettledResolveElementFunction()
400 // 8. Let remainingElementsCount be F.[[RemainingElements]]. in AllSettledResolveElementFunction()
403 // 9. Let obj be ! OrdinaryObjectCreate(%Object.prototype%). in AllSettledResolveElementFunction()
422 // a. Let valuesArray be CreateArrayFromList(values). in AllSettledResolveElementFunction()
439 // 1. Let F be the active function object. in AllSettledRejectElementFunction()
445 // 2. Let alreadyCalled be F.[[AlreadyCalled]]. in AllSettledRejectElementFunction()
454 // 5. Let index be F.[[Index]]. in AllSettledRejectElementFunction()
456 // 6. Let values be F.[[Values]]. in AllSettledRejectElementFunction()
459 // 7. Let promiseCapability be F.[[Capability]]. in AllSettledRejectElementFunction()
462 // 8. Let remainingElementsCount be F.[[RemainingElements]]. in AllSettledRejectElementFunction()
465 // 9. Let obj be ! OrdinaryObjectCreate(%Object.prototype%). in AllSettledRejectElementFunction()
484 // a. Let valuesArray be CreateArrayFromList(values). in AllSettledRejectElementFunction()
501 // 1. Let F be the active function object. in AnyRejectElementFunction()
514 // 4. Let index be F.[[Index]]. in AnyRejectElementFunction()
516 // 5. Let errors be F.[[Errors]]. in AnyRejectElementFunction()
519 // 6. Let promiseCapability be F.[[Capability]]. in AnyRejectElementFunction()
522 // 7. Let remainingElementsCount be F.[[RemainingElements]]. in AnyRejectElementFunction()
534 // a. Let error be a newly created AggregateError object. in AnyRejectElementFunction()