mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
LibJS: Update two comments saying "completion value"
This is an editorial change in the ECMA-262 spec.
See: 7913cea
This commit is contained in:
parent
99cc442f5c
commit
03e13715ac
2 changed files with 4 additions and 5 deletions
|
@ -934,10 +934,9 @@ void VM::import_module_dynamically(ScriptOrModule referencing_script_or_module,
|
|||
// - At some future time, the host environment must perform FinishDynamicImport(referencingScriptOrModule, moduleRequest, promiseCapability, promise),
|
||||
// where promise is a Promise resolved with undefined.
|
||||
// - Any subsequent call to HostResolveImportedModule after FinishDynamicImport has completed,
|
||||
// given the arguments referencingScriptOrModule and moduleRequest, must complete normally.
|
||||
// - The completion value of any subsequent call to HostResolveImportedModule after FinishDynamicImport has completed,
|
||||
// given the arguments referencingScriptOrModule and moduleRequest, must be a module which has already been evaluated,
|
||||
// i.e. whose Evaluate concrete method has already been called and returned a normal completion.
|
||||
// given the arguments referencingScriptOrModule and specifier, must return a normal completion
|
||||
// containing a module which has already been evaluated, i.e. whose Evaluate concrete method has
|
||||
// already been called and returned a normal completion.
|
||||
// Failure path:
|
||||
// - At some future time, the host environment must perform
|
||||
// FinishDynamicImport(referencingScriptOrModule, moduleRequest, promiseCapability, promise),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue