Implement the final JS API for Wasm exceptions
Categories
(Core :: Javascript: WebAssembly, enhancement, P3)
Tracking
()
People
(Reporter: asumu, Assigned: asumu)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(5 files)
Currently the Wasm exception handling implemention in Spidermonkey has a skeleton of a JS API based on what seems to be the current consensus, but the spec API is not fully fleshed out yet.
On the specification side, I started a discussion on finalizing the API: https://github.com/WebAssembly/exception-handling/issues/150
I'll attach some WIP patches here that prototype a possible direction for that API. I'll evolve these patches as the API becomes more solid.
Assignee | ||
Comment 1•4 months ago
|
||
Assignee | ||
Comment 2•4 months ago
|
||
Depends on D110851
Assignee | ||
Comment 3•4 months ago
|
||
Depends on D110852
Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
Assignee | ||
Comment 4•2 months ago
|
||
Depends on D110853
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•26 days ago
|
Updated•26 days ago
|
Updated•26 days ago
|
Updated•26 days ago
|
Assignee | ||
Comment 5•26 days ago
|
||
Recently the JS API formal spec (https://github.com/WebAssembly/exception-handling/pull/86), proposal overview (https://github.com/WebAssembly/exception-handling/pull/154), and WPT tests (https://github.com/WebAssembly/exception-handling/pull/155) were merged into the exception handling proposal.
Given that milestone, I marked the attached patches as ready for review. I've tested the patches against the spec tests, which should get merged into the main WPT repo at some point. I'll also rebase these patches soon as well.
Assignee | ||
Comment 6•8 days ago
|
||
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/autoland/rev/c8008c66d883 Implement WebAssembly.Exception constructor r=rhunt https://hg.mozilla.org/integration/autoland/rev/26fc35525a71 Add WebAssembly.Exception methods r=rhunt https://hg.mozilla.org/integration/autoland/rev/5a5a33fbb176 Implement WebAssembly.Tag constructor r=rhunt https://hg.mozilla.org/integration/autoland/rev/7ded9f637e58 Implement type reflection for WebAssembly.Tag r=rhunt https://hg.mozilla.org/integration/autoland/rev/ac4000f104a3 Update WPT test metadata for Wasm exceptions JS API r=rhunt
Description
•