[Webkit-unassigned] [Bug 243078] New: [Wasm-GC] Make GC tests more maintainable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 21 14:25:33 PDT 2022


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

            Bug ID: 243078
           Summary: [Wasm-GC] Make GC tests more maintainable
           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 the Wasm GC tests (structs.js and i31.js for example) are written with binary strings with comments indicating the Wasm text format module that they correspond to.

A recent review comment (https://github.com/WebKit/WebKit/pull/2202#discussion_r916963742) suggested improving the situation with a script to ensure the binary format matches the text, to ensure maintainability.

Another possible solution is to embed a text format encoder/decoder that supports the Wasm GC proposal. One way to do this is to compile the Wasm specification reference interpreter to JS, and embed that in the tests. I'll attach a patch that illustrates this approach for the current tests.

-- 
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/20220721/1add1a5e/attachment-0001.htm>


More information about the webkit-unassigned mailing list