Skip to content

Commit 6e08858

Browse files
committed
Editorial: Add missing parameter to PromiseResolve calls
1 parent d3ca4e2 commit 6e08858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2997,7 +2997,7 @@ <h1>Await</h1>
29972997

29982998
<emu-alg>
29992999
1. Let _asyncContext_ be the running execution context.
3000-
1. Let _promise_ be ? PromiseResolve(&laquo; _value_ &raquo;).
3000+
1. Let _promise_ be ? PromiseResolve(%Promise%, &laquo; _value_ &raquo;).
30013001
1. Let _stepsFulfilled_ be the algorithm steps defined in <emu-xref href="#await-fulfilled" title></emu-xref>.
30023002
1. Let _onFulfilled_ be CreateBuiltinFunction(_stepsFulfilled_, &laquo; [[AsyncContext]] &raquo;).
30033003
1. Set _onFulfilled_.[[AsyncContext]] to _asyncContext_.
@@ -36595,7 +36595,7 @@ <h1>AsyncFromSyncIteratorContinuation ( _result_, _promiseCapability_ )</h1>
3659536595
1. IfAbruptRejectPromise(_done_, _promiseCapability_).
3659636596
1. Let _value_ be IteratorValue(_result_).
3659736597
1. IfAbruptRejectPromise(_value_, _promiseCapability_).
36598-
1. Let _valueWrapper_ be ? PromiseResolve(&laquo; _value_ &raquo;).
36598+
1. Let _valueWrapper_ be ? PromiseResolve(%Promise%, &laquo; _value_ &raquo;).
3659936599
1. Let _steps_ be the algorithm steps defined in <emu-xref href="#sec-async-from-sync-iterator-value-unwrap-functions" title></emu-xref>.
3660036600
1. Let _onFulfilled_ be CreateBuiltinFunction(_steps_, &laquo; [[Done]] &raquo;).
3660136601
1. Set _onFulfilled_.[[Done]] to _done_.
@@ -37220,7 +37220,7 @@ <h1>AsyncGeneratorResumeNext ( _generator_ )</h1>
3722037220
1. If _state_ is `"completed"`, then
3722137221
1. If _completion_.[[Type]] is ~return~, then
3722237222
1. Set _generator_.[[AsyncGeneratorState]] to `"awaiting-return"`.
37223-
1. Let _promise_ be ? PromiseResolve(&laquo; _completion_.[[Value]] &raquo;).
37223+
1. Let _promise_ be ? PromiseResolve(%Promise%, &laquo; _completion_.[[Value]] &raquo;).
3722437224
1. Let _stepsFulfilled_ be the algorithm steps defined in <emu-xref href="#async-generator-resume-next-return-processor-fulfilled" title></emu-xref>.
3722537225
1. Let _onFulfilled_ be CreateBuiltinFunction(_stepsFulfilled_, &laquo; [[Generator]] &raquo;).
3722637226
1. Set _onFulfilled_.[[Generator]] to _generator_.

0 commit comments

Comments
 (0)