Implement the final JS API for Wasm exceptions
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: asumu, Assigned: asumu)
References
(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 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D110851
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D110852
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D110853
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years 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•4 years ago
|
||
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c8008c66d883
https://hg.mozilla.org/mozilla-central/rev/26fc35525a71
https://hg.mozilla.org/mozilla-central/rev/5a5a33fbb176
https://hg.mozilla.org/mozilla-central/rev/7ded9f637e58
https://hg.mozilla.org/mozilla-central/rev/ac4000f104a3
Description
•