Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e351c7849f30e38846e49f2ed1c5e94d9a59d29
https://github.com/WebKit/WebKit/commit/3e351c7849f30e38846e49f2ed1c5e94d9a59d29
Author: Yusuke Suzuki <[email protected]>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
A JSTests/wasm/stress/memory64-shared-broadcast-address-type.js
A
LayoutTests/js/dom/webassembly-memory-shared-zero-maximum-clone-expected.txt
A LayoutTests/js/dom/webassembly-memory-shared-zero-maximum-clone.html
M Source/JavaScriptCore/jsc.cpp
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
Log Message:
-----------
[JSC] SerializedScriptValue is not carrying memory64 flag
https://bugs.webkit.org/show_bug.cgi?id=321332
rdar://184365775
Reviewed by Yijia Huang.
Memory64 Wasm Memory was not correctly propagating memory64 flag. And
SerializedScriptValue is incorrectly accessing addressType() of non
attached memory, this is not correct. This patch fixes it.
Tests: JSTests/wasm/stress/memory64-shared-broadcast-address-type.js
js/dom/webassembly-memory-shared-zero-maximum-clone.html
* JSTests/wasm/stress/memory64-shared-broadcast-address-type.js: Added.
(const.agentSource.agent.receiveBroadcast):
(broadcastAndCollect):
* LayoutTests/js/dom/webassembly-memory-shared-zero-maximum-clone-expected.txt:
Added.
* LayoutTests/js/dom/webassembly-memory-shared-zero-maximum-clone.html: Added.
* Source/JavaScriptCore/jsc.cpp:
(JSC_DEFINE_HOST_FUNCTION):
* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::dumpDerivedTerminal):
(WebCore::CloneDeserializer::readDerivedTerminal):
(WebCore::SerializedScriptValue::computeMemoryCost const):
Canonical link: https://commits.webkit.org/318831@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications