Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7a099ccc93537a555e9bdfc625675bf93734e84
      
https://github.com/WebKit/WebKit/commit/c7a099ccc93537a555e9bdfc625675bf93734e84
  Author: Cole Carley <[email protected]>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    A JSTests/wasm/js-api/memory64-js-api.js
    M JSTests/wasm/js-api/test_memory.js
    M 
LayoutTests/webgl/2.0.y/conformance2/wasm/bufferdata-16gb-wasm-memory-expected.txt
    M 
LayoutTests/webgl/2.0.y/conformance2/wasm/buffersubdata-16gb-wasm-memory-expected.txt
    M 
LayoutTests/webgl/2.0.y/conformance2/wasm/getbuffersubdata-16gb-wasm-memory-expected.txt
    M 
LayoutTests/webgl/2.0.y/conformance2/wasm/readpixels-16gb-wasm-memory-expected.txt
    M 
LayoutTests/webgl/2.0.y/conformance2/wasm/teximage2d-16gb-wasm-memory-expected.txt
    M 
LayoutTests/webgl/2.0.y/conformance2/wasm/texsubimage2d-16gb-wasm-memory-expected.txt
    M Source/JavaScriptCore/runtime/PageCount.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyMemory.cpp
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyMemory.h
    M Source/JavaScriptCore/wasm/js/WebAssemblyMemoryConstructor.cpp
    M Source/JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp

  Log Message:
  -----------
  Add address field to wasm memory descriptor
https://bugs.webkit.org/show_bug.cgi?id=309045
rdar://171596390

Reviewed by Keith Miller.

Add the address field to the memory descriptor.

* JSTests/wasm/js-api/memory64-js-api.js: Added.
(assert.eq):
(assert.throws):
* JSTests/wasm/js-api/test_memory.js:
* 
LayoutTests/webgl/2.0.y/conformance2/wasm/bufferdata-16gb-wasm-memory-expected.txt:
* 
LayoutTests/webgl/2.0.y/conformance2/wasm/buffersubdata-16gb-wasm-memory-expected.txt:
* 
LayoutTests/webgl/2.0.y/conformance2/wasm/getbuffersubdata-16gb-wasm-memory-expected.txt:
* 
LayoutTests/webgl/2.0.y/conformance2/wasm/readpixels-16gb-wasm-memory-expected.txt:
* 
LayoutTests/webgl/2.0.y/conformance2/wasm/teximage2d-16gb-wasm-memory-expected.txt:
* 
LayoutTests/webgl/2.0.y/conformance2/wasm/texsubimage2d-16gb-wasm-memory-expected.txt:
* Source/JavaScriptCore/runtime/PageCount.h:
(JSC::PageCount::PageCount):
(JSC::PageCount::bytes const):
(JSC::PageCount::pageCount const):
(JSC::PageCount::isValid):
(JSC::PageCount::operator+ const):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h:
(JSC::toNonWrappingUint64):
(JSC::addressValueToUint64):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyMemory.cpp:
(JSC::JSWebAssemblyMemory::grow):
(JSC::JSWebAssemblyMemory::type):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyMemory.h:
* Source/JavaScriptCore/wasm/js/WebAssemblyMemoryConstructor.cpp:
(JSC::WebAssemblyMemoryConstructor::createMemoryFromDescriptor):
* Source/JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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



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

Reply via email to