You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per ECMA-262 requirements for Source Phase Imports ([[!SOURCEPHASEIMPORTS]]) integration, the interface prototype object for {{Module}} must have as its \[[Prototype]] set to [=%AbstractModuleSource%.prototype=], as if created by [$OrdinaryObjectCreate$]([=%AbstractModuleSource%.prototype=]), instead of [=%ObjectPrototype%=].
528
-
In addition, the interface object for {{Module}} should have as its \[[Prototype]] set to [=%AbstractModuleSource%=], as if created by [$OrdinaryObjectCreate$]([=%AbstractModuleSource%=]), instead of [=%ObjectPrototype%=].
528
+
Per ECMA-262 requirements for Source Phase Imports ([[!SOURCEPHASEIMPORTS]]) integration, the interface prototype object for {{Module}} must have as its \[[Prototype]] set to [=%AbstractModuleSource%.prototype=], as if created by [$OrdinaryObjectCreate$]([=%AbstractModuleSource%.prototype=]).
529
+
In addition, the interface object for {{Module}} should have as its \[[Prototype]] set to [=%AbstractModuleSource%=], as if created by [$OrdinaryObjectCreate$]([=%AbstractModuleSource%=]).
529
530
530
531
<div algorithm>
531
532
The <dfn>string value of the extern type</dfn> |type| is
@@ -1337,7 +1338,7 @@ Note: It is possible to implement the Wasm-ESM integration in two stages. In the
1337
1338
* \[[WebAssemblyModule]] : a WebAssembly {{Module}} object
1338
1339
1339
1340
<div algorithm>
1340
-
To <dfn export>parse a WebAssembly module</dfn> given a an {{ArrayBuffer}} |bytes|, a Realm |realm| and object |hostDefined|, perform the following steps.
1341
+
To <dfn export>parse a WebAssembly module</dfn> given a <a>byte sequence</a> |bytes|, a Realm |realm| and object |hostDefined|, perform the following steps.
1341
1342
1342
1343
1. Let |stableBytes| be a [=get a copy of the buffer source|copy of the bytes held by the buffer=] |bytes|.
1343
1344
1. [=Compile a WebAssembly module|Compile the WebAssembly module=] |stableBytes| and store the result as |module|.
@@ -1425,13 +1426,14 @@ WebAssembly Module Records have the following methods:
1425
1426
1. Let |importedModule| be [$GetImportedModule$](|record|, |importedModuleName|).
1426
1427
1. Let |value| be ? |importedModule|.\[[Environment]].GetBindingValue(|name|, true).
1427
1428
1. Set |imports|[|importedModuleName|][|name|] to |value|.
1428
-
1. Let |importsObject| be ! [$OrdinaryObjectCreate$](null).
1429
+
1. Let |importObject| be ! [$OrdinaryObjectCreate$](null).
1429
1430
1. For each |key| → |value| of |imports|,
1430
1431
1. Let |moduleImportsObject| be ! [$OrdinaryObjectCreate$](null).
1431
1432
1. For each |importedName| → |importedValue| of |value|,
0 commit comments