[Webkit-unassigned] [Bug 251874] [Wasm-GC] Update element segments to account for typed funcrefs and GC types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 9 15:13:09 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251874

--- Comment #1 from Tim Chevalier <tjc at igalia.com> ---
externrefs also aren't allowed in element segments, and should be:

```
(module
  (elem $elem0 externref (ref.null extern)))
```

fails with:

```
Exception: CompileError: WebAssembly.Module doesn't parse at byte 17: reftype in element section should be funcref (evaluating 'new WebAssembly.Module(binary)')
```

but is accepted by the reference interpreter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230209/3d6da31f/attachment.htm>


More information about the webkit-unassigned mailing list