Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JSC] Fix WebAssembly.Tag.getArg's thrown error type
https://bugs.webkit.org/show_bug.cgi?id=247223 rdar://101705666 Reviewed by Alexey Shvayka. 1. We should use toNonWrappingUint32 to get Uint32 for getArg index 2. We should throw RangeError instead of TypeError for out of bounds getArg https://webassembly.github.io/exception-handling/js-api/#dom-exception-getarg * LayoutTests/imported/w3c/web-platform-tests/wasm/compile_worker.js: * LayoutTests/imported/w3c/web-platform-tests/wasm/create_multiple_memory.worker.js: * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/exception/getArg.tentative.any.js: (test): * LayoutTests/imported/w3c/web-platform-tests/wasm/resources/load_wasm.js: * LayoutTests/imported/w3c/web-platform-tests/wasm/webapi/origin.sub.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/wasm/webapi/origin.sub.any.js: * LayoutTests/imported/w3c/web-platform-tests/wasm/webapi/origin.sub.any.worker-expected.txt: * Source/JavaScriptCore/wasm/js/WebAssemblyExceptionPrototype.cpp: (JSC::JSC_DEFINE_HOST_FUNCTION): (JSC::getTag): Deleted. Canonical link: https://commits.webkit.org/256158@main
- Loading branch information
1 parent
5ac9a1b
commit b1248207241a66f6361f4a2f035f18cc7caed4ae
Showing
12 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
PASS Opaque response: compileStreaming | ||
PASS Opaque redirect response: compileStreaming | ||
PASS Opaque response: instantiateStreaming | ||
PASS Opaque redirect response: instantiateStreaming | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
PASS Opaque response: compileStreaming | ||
PASS Opaque redirect response: compileStreaming | ||
PASS Opaque response: instantiateStreaming | ||
PASS Opaque redirect response: instantiateStreaming | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters