Closed
Bug 1716043
Opened 3 years ago
Closed 3 years ago
Support bare `try` block in Wasm exception handling
Categories
(Core :: JavaScript: WebAssembly, enhancement, P2)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
91 Branch
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: asumu, Assigned: asumu)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently Wasm doesn't accept a bare try
block with no corresponding catch
, catch_all
, unwind
, or delegate
. The spec was recently updated (https://github.com/WebAssembly/exception-handling/pull/157) to allow these in order to make the syntax more regular.
A bare try
block is essentially identical to a block
instruction.
This bug is for supporting this form of try
in SpiderMonkey.
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → asumu
Assignee | ||
Comment 1•3 years ago
|
||
This will need changes in the parser for tests, so I will first implement the new behavior in wabt and wasm-tools before submitting a SM patch.
Updated•3 years ago
|
Severity: -- → N/A
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 2•3 years ago
|
||
The proposal spec for exception handling was recently changed
to allow a try
block with no catch
or delegate
clauses:
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/autoland/rev/faaa31125ac6 Support Wasm `try` block with no other clauses r=rhunt
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox91:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•