Skip to content

Commit a4a2244

Browse files
committed
also reserve wasm-js: on imported names
1 parent bf93c9b commit a4a2244

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

document/js-api/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ To <dfn export>parse a WebAssembly module</dfn> given a <a>byte sequence</a> |by
14041404
1. [=Construct a WebAssembly module object=] from |module| and |bytes|, and let |module| be the result.
14051405
1. Let |requestedModules| be a set.
14061406
1. For each (|moduleName|, |name|, |type|) in [=module_imports=](|module|.\[[Module]]),
1407-
1. If |moduleName| starts with the prefix "wasm-js:",
1407+
1. If |moduleName| or |name| starts with the prefix "wasm-js:",
14081408
1. Throw a {{LinkError}} exception.
14091409
1. Note: The following step only applies when integrating with the JS String Builtins proposal.
14101410
1. If [=Find a builtin=] with (|moduleName|, |name|, |type|) and builtins |module|.\[[BuiltinSets]] is not null, then [=iteration/continue=].

0 commit comments

Comments
 (0)