Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 010e57fb4b9313bfec1d36d9d1ddfaf19f215002
      
https://github.com/WebKit/WebKit/commit/010e57fb4b9313bfec1d36d9d1ddfaf19f215002
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-08-18 (Tue, 18 Aug 2026)

  Changed paths:
    M JSTests/wasm/js-api/Module.exports.js
    A JSTests/wasm/js-api/Module.imports-exports-no-type.js
    M JSTests/wasm/js-api/Module.imports.js
    M JSTests/wasm/js-api/type-reflection-concrete-types.js
    M JSTests/wasm/js-api/type-reflection-exports.js
    M JSTests/wasm/js-api/type-reflection-imports.js
    M JSTests/wasm/stress/table-oversized-initial-reflection.js
    M Source/JavaScriptCore/wasm/js/WebAssemblyModuleConstructor.cpp
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml

  Log Message:
  -----------
  [JSC] Gate Module.imports/exports type field behind useWasmJSTypes
https://bugs.webkit.org/show_bug.cgi?id=321692

Reviewed by Keith Miller.

The type field on WebAssembly.Module.imports and exports descriptors
comes from the unfinished js-types proposal, not the core JS API.
Prototype type() methods are already behind Options::useWasmJSTypes
(default false). Gate the remaining surface the same way so default
descriptors match the standard shape and do not throw on unrepresentable
ref types.

* Source/JavaScriptCore/wasm/js/WebAssemblyModuleConstructor.cpp:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* JSTests/wasm/js-api/Module.exports.js:
* JSTests/wasm/js-api/Module.imports.js:
* JSTests/wasm/js-api/Module.imports-exports-no-type.js: Added.
* JSTests/wasm/js-api/type-reflection-concrete-types.js:
* JSTests/wasm/js-api/type-reflection-exports.js:
* JSTests/wasm/js-api/type-reflection-imports.js:
* JSTests/wasm/stress/table-oversized-initial-reflection.js:

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



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

Reply via email to