Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 62e8e45c7ec28d76b723e476b5ab7978a3f82b7b
      
https://github.com/WebKit/WebKit/commit/62e8e45c7ec28d76b723e476b5ab7978a3f82b7b
  Author: Asumu Takikawa <as...@igalia.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M JSTests/wasm/gc/js-api.js
    A 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/global-import.tentative.any-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/global-import.tentative.any.html
    A 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/global-import.tentative.any.js
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h
    M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp

  Log Message:
  -----------
  [Wasm-GC] Update "read the imports" part of JS API for globals
https://bugs.webkit.org/show_bug.cgi?id=264655

Reviewed by Justin Michaud.

The GC proposal JS API was recently updated
(https://github.com/WebAssembly/gc/pull/467) to allow direct import of reftype
globals in more cases.

This patch also includes a version of the pending WPT tests for this case
(tracked upstream here: https://github.com/WebAssembly/gc/pull/498) which
should be updated later if there are any changes in the accepted upstream
version.

* JSTests/wasm/gc/js-api.js:
(testImport.):
(testImport):
* 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/global-import.tentative.any.js:
 Added.
(setup.doLink):
(setup):
(test):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h:
(JSC::fromJSValue):
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp:
(JSC::WebAssemblyModuleRecord::initializeImports):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to