[webkit-changes] [WebKit/WebKit] e4308d: [Wasm-GC] Fix error cases in Table.set/grow in JS API
Asumu Takikawa
noreply at github.com
Mon Feb 19 18:36:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e4308dcc1bbede74e9defcd8ae815ca98ab6a969
https://github.com/WebKit/WebKit/commit/e4308dcc1bbede74e9defcd8ae815ca98ab6a969
Author: Asumu Takikawa <asumu at igalia.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M JSTests/wasm/gc/js-api.js
M Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h
M Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp
Log Message:
-----------
[Wasm-GC] Fix error cases in Table.set/grow in JS API
https://bugs.webkit.org/show_bug.cgi?id=269578
Reviewed by Justin Michaud.
Fixes error cases for these JS API operations to match the latest GC proposal
JS API spec. Also ensure assertions are accurate.
* JSTests/wasm/gc/js-api.js:
(testTable):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h:
(JSC::defaultValueForReferenceType):
* Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/275014@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list