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
1. Let |record| be this WebAssembly Module Record.
1330
-
1. Assert: |record|.\[[Async]] is true.
1331
-
1. Assert: |record|.\[[ModuleAsync]] is true.
1332
+
1. Assert: |record|.\[[HasTLA]] is true.
1332
1333
1. Let |module| be |record|.\[[WebAssemblyModule]].
1333
1334
1. Let |imports| be a new, empty [=map=].
1334
1335
1. For each (|importedModuleName|, |name|, <var ignore>type</var>) in [=module_imports=](|module|.\[[Module]]),
1335
1336
1. If |imports|[|importedModuleName|] does not exist, set |imports|[|importedModuleName|] to a new, empty [=map=].
1336
-
1. Let |importedModule| be ! [$HostResolveImportedModule$](|record|, |importedModuleName|).
1337
-
1. NOTE: The above call cannot fail because imported module requests are a subset of |record|.\[[RequestedModules]], and these have been resolved earlier in this algorithm.
1337
+
1. Let |importedModule| be [$GetImportedModule$](|record|, |importedModuleName|).
1338
1338
1. Let |value| be ? |importedModule|.\[[Environment]].GetBindingValue(|name|, true).
1339
1339
1. Set |imports|[|importedModuleName|][|name|] to |value|.
1340
1340
1. Let |importsObject| be ! [$OrdinaryObjectCreate$](null).
@@ -1347,9 +1347,9 @@ WebAssembly Module Records have the following methods:
1347
1347
1. [=Upon fulfillment=] of |instancePromise| with value |instance|:
1348
1348
1. For each |name| in the [=export name list=] of |record|,
0 commit comments