RESOLVED FIXED 246769
[Wasm-GC] Implement initial minimal JS API for Wasm GC
https://bugs.webkit.org/show_bug.cgi?id=246769
Summary [Wasm-GC] Implement initial minimal JS API for Wasm GC
Asumu Takikawa
Reported 2022-10-19 14:21:51 PDT
The Wasm GC proposal will likely adopt a minimal initial JS API as described here: https://github.com/WebAssembly/gc/issues/279 This bug is for the initial implementation of that JS API. The changes this will require in JSC are to allow structs/arrays to pass out of Wasm to JS (this currently throws), and then ensure that those objects appear frozen (and most operations on them should throw). There are also a few places where conversion operations are needed, such as for globals and tables. And also for i31ref values, which require a conversion from appropriate Number values (this is a no-op if the JS representation is an integer, but may require a conversion if it's represented as a double).
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-26 14:22:18 PDT
Asumu Takikawa
Comment 2 2023-02-20 15:29:59 PST
Asumu Takikawa
Comment 3 2023-03-29 14:31:49 PDT
The patch for this already landed, not sure why it wasn't automatically closed. I'm closing it as fixed.
Note You need to log in before you can comment on or make changes to this bug.