Closed Bug 1889441 Opened 2 years ago Closed 1 year ago

Track whether exnref should be exposable to JS or not

Categories

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

task

Tracking

()

RESOLVED FIXED

People

(Reporter: rhunt, Unassigned)

References

(Blocks 1 open bug)

Details

The overview is unclear on this detail. We need to confirm this before shipping. Right now we assume that exnref is not exposable and therefore will trigger a TypeError on the js boundary.

If this changes, we will need to add some logic to transparently wrap/unwrap JS values into the WebAssembly.JSTag exceptions. See bug 1887081.

https://github.com/WebAssembly/exception-handling/pull/301#issuecomment-2036355033

I believe this will be resolved in favor of our current implementation. That is, continue to throw TypeError

This was resolved so that exnref is not exposable, and we implement it that way.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.