[webkit-changes] [WebKit/WebKit] 6f99f6: [WASM] Throw exceptions for invalid wasm exception...
Yijia Huang
noreply at github.com
Sun Oct 27 15:09:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6f99f6b7d15cb73c5a622bd9433bb08ddc859895
https://github.com/WebKit/WebKit/commit/6f99f6b7d15cb73c5a622bd9433bb08ddc859895
Author: Yijia Huang <hyjorc1 at gmail.com>
Date: 2024-10-27 (Sun, 27 Oct 2024)
Changed paths:
A JSTests/wasm/gc/bug137224743.js
M Source/JavaScriptCore/wasm/WasmSectionParser.cpp
M Source/JavaScriptCore/wasm/WasmTypeDefinition.h
M Source/JavaScriptCore/wasm/WasmTypeDefinitionInlines.h
Log Message:
-----------
[WASM] Throw exceptions for invalid wasm exception type signature
https://bugs.webkit.org/show_bug.cgi?id=282114
rdar://137224743
Reviewed by Keith Miller and Mark Lam.
When parsing WASM exceptions, we should throw exactions if the
corresponding types don't have function signatures.
* JSTests/wasm/gc/bug137224743.js: Added.
(catch):
* Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseException):
* Source/JavaScriptCore/wasm/WasmTypeDefinition.h:
* Source/JavaScriptCore/wasm/WasmTypeDefinitionInlines.h:
Canonical link: https://commits.webkit.org/285752@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