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

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/global/value-get-set.any-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/global/value-get-set.any.worker-expected.txt
    M Source/JavaScriptCore/wasm/js/WebAssemblyGlobalPrototype.cpp

  Log Message:
  -----------
  [JSC][Wasm] Treat missing Global value setter argument as undefined
https://bugs.webkit.org/show_bug.cgi?id=321493

Reviewed by Keith Miller.

WebAssembly.Global.prototype.value's setter threw NotEnoughArguments
when invoked with no argument. The JS API and the WPT treat a missing
argument as undefined, same as a normal JS setter.

* Source/JavaScriptCore/wasm/js/WebAssemblyGlobalPrototype.cpp:
(webAssemblyGlobalProtoSetterFuncValue):
* 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/global/value-get-set.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/global/value-get-set.any.worker-expected.txt:

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



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

Reply via email to