[webkit-changes] [WebKit/WebKit] a2bcc4: [Wasm-GC] Fix JS API casts for some top types
Asumu Takikawa
noreply at github.com
Fri Mar 22 16:54:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2bcc4921f7ca88a4480806eee8c2eaa63611ea0
https://github.com/WebKit/WebKit/commit/a2bcc4921f7ca88a4480806eee8c2eaa63611ea0
Author: Asumu Takikawa <asumu at igalia.com>
Date: 2024-03-22 (Fri, 22 Mar 2024)
Changed paths:
M JSTests/wasm/gc/js-api.js
M Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp
Log Message:
-----------
[Wasm-GC] Fix JS API casts for some top types
https://bugs.webkit.org/show_bug.cgi?id=270374
Reviewed by Justin Michaud.
Fixes too-optimistic assumption about static validation for top type casts.
* JSTests/wasm/gc/js-api.js:
(testCastFailure):
* Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp:
(JSC::Wasm::TypeInformation::castReference):
Canonical link: https://commits.webkit.org/276580@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