[Webkit-unassigned] [Bug 277546] New: Primitives (number, string, null, etc.) thrown from JS pass through catch_all in wasm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 2 05:27:42 PDT 2024


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

            Bug ID: 277546
           Summary: Primitives (number, string, null, etc.) thrown from JS
                    pass through catch_all in wasm
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bashorov at gmail.com

Created attachment 472044

  --> https://bugs.webkit.org/attachment.cgi?id=472044&action=review

repro

1. Unzip attached file
2. run jsc --useWasmGC=true --module-file=./test.mjs


Expected result:
```
throw
catch_all
test passed
```

Actual result:
```
throw
Failed with exception!
Exception: 42
typeof:    number
Message:   undefined
Name:      undefined
Stack:
undefined
Exception: Wrong box result 'undefined'; Expected "OK"
```

-- 
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/20240802/22a13f74/attachment.htm>


More information about the webkit-unassigned mailing list