Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e075761ea48ff88ff275318677b6df79250fdb2d
      
https://github.com/WebKit/WebKit/commit/e075761ea48ff88ff275318677b6df79250fdb2d
  Author: Vassili Bykov <[email protected]>
  Date:   2026-02-25 (Wed, 25 Feb 2026)

  Changed paths:
    A LayoutTests/http/tests/wasm/wasm-js-string-builtins-streaming-expected.txt
    A LayoutTests/http/tests/wasm/wasm-js-string-builtins-streaming.html
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/JavaScriptCore/builtins/WebAssembly.js
    M Source/JavaScriptCore/runtime/GlobalObjectMethodTable.h
    M Source/JavaScriptCore/tools/JSDollarVM.cpp
    M Source/JavaScriptCore/wasm/WasmStreamingCompiler.cpp
    M Source/JavaScriptCore/wasm/WasmStreamingCompiler.h
    M Source/JavaScriptCore/wasm/js/JSWebAssembly.cpp
    M Source/JavaScriptCore/wasm/js/WebAssemblyCompileOptions.h
    M Source/WebCore/bindings/js/JSDOMGlobalObject.cpp
    M Source/WebCore/bindings/js/JSDOMGlobalObject.h

  Log Message:
  -----------
  [JSC] Fix WebAssembly.compileStreaming and .instantiateStreaming to accept 
compileOptions
https://bugs.webkit.org/show_bug.cgi?id=308136
rdar://170989896

Reviewed by Yusuke Suzuki.

This patch adds the support required by the JS string builtin proposal to the 
streaming
compilation and instantiation APIs of WebAssembly (defined in the Web Embedding 
rather
than the JavaScript Embedding document of the proposal).

Highlights:

Added support for the optional compileOptions parameter to the JS builtins and
the underlying internal functions in:

    * Source/JavaScriptCore/builtins/WebAssembly.js
    * Source/JavaScriptCore/wasm/js/JSWebAssembly.cpp:

Added the plumbing to carry the options from the JS builtins to the streaming
compiler (function signature changes in multiple places).

Added the handling of compileOptions to:

    * Source/JavaScriptCore/wasm/WasmStreamingCompiler.cpp:
    * Source/JavaScriptCore/wasm/WasmStreamingCompiler.h:

Added tests:

    http/tests/wasm/wasm-js-string-builtins-streaming.html

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



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

Reply via email to