Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d319ee7c278e6969bb9243fd5cb20f0874121cdf
      
https://github.com/WebKit/WebKit/commit/d319ee7c278e6969bb9243fd5cb20f0874121cdf
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    A JSTests/wasm/stress/memory64-multi-memory-rejected.js
    M Source/JavaScriptCore/wasm/WasmSectionParser.cpp

  Log Message:
  -----------
  [JSC] Due to IPInt, we need to ensure that wasm multi-memory does not support 
memory64
https://bugs.webkit.org/show_bug.cgi?id=321038
rdar://184070346

Reviewed by Cole Carley and Yijia Huang.

We would like to restrict that memory64 only has one memory. But right
now, if we define 32bit memory after 64bit memory, it passes. We should
check whether we had a 64bit memory.

Test: JSTests/wasm/stress/memory64-multi-memory-rejected.js

* JSTests/wasm/stress/memory64-multi-memory-rejected.js: Added.
(async assertRejected):
* Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseMemoryHelper):

Canonical link: https://commits.webkit.org/318604@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to