WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
163351
WebAssembly should support trapping.
https://bugs.webkit.org/show_bug.cgi?id=163351
Summary
WebAssembly should support trapping.
Keith Miller
Reported
2016-10-12 13:30:29 PDT
...
Attachments
Add attachment
proposed patch, testcase, etc.
JF Bastien
Comment 1
2016-11-28 16:30:01 PST
https://github.com/WebAssembly/design/blob/master/JS.md#traps
JF Bastien
Comment 2
2016-11-28 16:32:18 PST
FYI WebAssembly.RuntimeError is in Source/JavaScriptCore/wasm/js/
JF Bastien
Comment 3
2016-11-28 16:41:38 PST
Things that can trap: - unreachable - div - rem - trunk - out-of-bounds memory access - out-of-bounds call_indirect - indirect call signature mismatch Stack overflow is currently unspecified, so that we can return the same error as JS would on stack overflow.
JF Bastien
Comment 4
2016-11-29 13:08:39 PST
Two useful references:
https://github.com/WebAssembly/design/issues/729
https://github.com/WebAssembly/design/pull/708
JF Bastien
Comment 5
2016-12-01 09:36:22 PST
This seems related:
https://github.com/WebAssembly/design/issues/883
Keith Miller
Comment 6
2017-03-28 11:03:38 PDT
I think this was done in other bugs, closing.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug