Lines Matching defs:nextPromise
335 // vi. Let 'nextPromise' be the result of calling Invoke(C, "cast", (nextValue)).
349 JSValue nextPromise = call(exec, castFunction, castFunctionCallType, castFunctionCallData, C, castFunctionArguments);
351 // vii. RejectIfAbrupt(nextPromise, deferred).
355 // viii. Let 'result' be the result of calling Invoke(nextPromise, "then", (deferred.[[Resolve]], deferred.[[Reject]])).
356 JSValue thenFunction = nextPromise.get(exec, vm.propertyNames->then);
371 call(exec, thenFunction, thenFunctionCallType, thenFunctionCallData, nextPromise, thenFunctionArguments);
474 // vi. Let 'nextPromise' be the result of calling Invoke(C, "cast", (nextValue)).
488 JSValue nextPromise = call(exec, castFunction, castFunctionCallType, castFunctionCallData, C, castFunctionArguments);
490 // vii. RejectIfAbrupt(nextPromise, deferred).
509 // xiii. Let 'result' be the result of calling Invoke(nextPromise, "then", (countdownFunction, deferred.[[Reject]])).
510 JSValue thenFunction = nextPromise.get(exec, vm.propertyNames->then);
525 call(exec, thenFunction, thenFunctionCallType, thenFunctionCallData, nextPromise, thenFunctionArguments);