Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 862994e2cc372c16a11440b96b4f5c34158431f2
https://github.com/WebKit/WebKit/commit/862994e2cc372c16a11440b96b4f5c34158431f2
Author: Cole Carley <[email protected]>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/wasm/core/memory64/memory64-imports.wast.js-expected.txt
M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp
Log Message:
-----------
[Memory64] Wasm table imports don't check that the address type matches
https://bugs.webkit.org/show_bug.cgi?id=320672
rdar://183653434
Reviewed by Keith Miller.
When linking a table import, we validated the element type, 'initial', and
'maximum', but never compared the address type of the provided table against
the one declared by the importing module. As a result an i32 table could
satisfy a table64 import (and vice versa), instead of throwing a LinkError.
This fixes the 8 failing subtests in the imported WPT memory64-imports test
covering memory64-imports.wast:53, 57, 61 and 65.
*
LayoutTests/imported/w3c/web-platform-tests/wasm/core/memory64/memory64-imports.wast.js-expected.txt:
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp:
(JSC::WebAssemblyModuleRecord::initializeImports):
Canonical link: https://commits.webkit.org/318280@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications