Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: caa6708421806a2a168b87a2ac5e810397abb6e4
https://github.com/WebKit/WebKit/commit/caa6708421806a2a168b87a2ac5e810397abb6e4
Author: Sergey Rubanov <[email protected]>
Date: 2026-09-25 (Fri, 25 Sep 2026)
Changed paths:
M JSTests/wasm/modules/js-wasm-reserved-names.js
M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
Log Message:
-----------
[JSC][Wasm] ESM reserved-name checks should skip string constants and builtins
https://bugs.webkit.org/show_bug.cgi?id=325162
Reviewed by Yusuke Suzuki.
The ESM integration spec applies wasm: and wasm-js: LinkErrors only to
public imports. String-constant imports and recognized builtins are
skipped first. WebKit checked every import field, so a string constant
named wasm:hello failed to link.
* JSTests/wasm/modules/js-wasm-reserved-names.js:
* Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp:
(JSC::JSWebAssemblyInstance::tryCreate):
Canonical link: https://commits.webkit.org/321903@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications