[Webkit-unassigned] [Bug 265722] New: [Wasm-GC] Make type reflection throw correctly in JS API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 2 10:45:49 PST 2023


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

            Bug ID: 265722
           Summary: [Wasm-GC] Make type reflection throw correctly in JS
                    API
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: asumu at igalia.com

Currently type reflection methods like `Global.type` should throw when they encounter types that cannot be represented, such as concrete reftypes (see https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md#type-reflection).

The behavior in JSC right now is that it hits an assertion, so we need to add an explicit exception throw case for all these cases.

-- 
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/20231202/48909bcb/attachment.htm>


More information about the webkit-unassigned mailing list