Skip to content

Commit

Permalink
Calls to CreateBuiltinFunction are missing args
Browse files Browse the repository at this point in the history
... for _length_ and _name_ parameters.
(The ones in this commit are just placeholders.)
  • Loading branch information
jmdyck committed May 15, 2021
1 parent d5094a8 commit 9b5d2db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -23134,10 +23134,10 @@ <h1>ExecuteAsyncModule ( _module_ )</h1>
1. Assert: _module_.[[Async]] is *true*.
1. Let _capability_ be ! NewPromiseCapability(%Promise%).
1. Let _stepsFulfilled_ be the steps of a CallAsyncModuleFulfilled function as specified below.
1. Let _onFulfilled_ be CreateBuiltinFunction(_stepsFulfilled_, &laquo; [[Module]] &raquo;).
1. Let _onFulfilled_ be CreateBuiltinFunction(_stepsFulfilled_, 0, *""*, &laquo; [[Module]] &raquo;).
1. Set _onFulfilled_.[[Module]] to _module_.
1. Let _stepsRejected_ be the steps of a CallAsyncModuleRejected function as specified below.
1. Let _onRejected_ be CreateBuiltinFunction(_stepsRejected_, &laquo; [[Module]] &raquo;).
1. Let _onRejected_ be CreateBuiltinFunction(_stepsRejected_, 0, *""*, &laquo; [[Module]] &raquo;).
1. Set _onRejected_.[[Module]] to _module_.
1. Perform ! PerformPromiseThen(_capability_.[[Promise]], _onFulfilled_, _onRejected_).
1. Perform ! _module_.ExecuteModule(_capability_).
Expand Down Expand Up @@ -24404,9 +24404,9 @@ <h1>FinishDynamicImport ( _referencingScriptOrModule_, _specifier_, _promiseCapa
<p>The abstract operation FinishDynamicImport takes arguments _referencingScriptOrModule_, _specifier_, _promiseCapability_ (a PromiseCapability Record), and _completion_. FinishDynamicImport completes the process of a dynamic import originally started by an <emu-xref href="#sec-import-calls">`import()`</emu-xref> call, resolving or rejecting the promise returned by that call as appropriate according to _completion_. It is performed by host environments as part of HostImportModuleDynamically. It performs the following steps when called:</p>
<emu-alg>
1. Let _stepsFulfilled_ be the steps of a CallDynamicImportFulfilled function as specified below.
1. Let _onFulfilled_ be CreateBuiltinFunction(_stepsFulfilled_, &laquo; &raquo;).
1. Let _onFulfilled_ be CreateBuiltinFunction(_stepsFulfilled_, 0, *""*, &laquo; &raquo;).
1. Let _stepsRejected_ be the steps of a CallDynamicImportRejected function as specified below.
1. Let _onRejected_ be CreateBuiltinFunction(_stepsRejected_, &laquo; &raquo;).
1. Let _onRejected_ be CreateBuiltinFunction(_stepsRejected_, 0, *""*, &laquo; &raquo;).
1. Perform ! PerformPromiseThen(_innerPromise_.[[Promise]], _onFulfilled_, _onRejected_).
</emu-alg>

Expand Down

0 comments on commit 9b5d2db

Please sign in to comment.