Closed Bug 1755389 Opened 2 years ago Closed 2 years ago

Implement traceStack option for WebAssembly.Exception

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This commit adds stack tracing support to WebAssembly.Exception
following the WebIDL snippet in the explainer [1].

JS::ExceptionStackOrNull is modified to propagate the stack
trace for a WasmExceptionObject in addition to ErrorObject.
This should make the rich stack display work in the devtools
console.

[1] https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md#js-api

Depends on D138723

Severity: -- → S3
Type: task → enhancement
Priority: -- → P3
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/096588811cee
wasm: Add stack tracing support to WebAssembly.Exception. r=lth
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: