Summary: | WebAssembly should support trapping. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Keith Miller <keith_miller> |
Component: | JavaScriptCore | Assignee: | Saam Barati <saam> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | jfbastien, saam |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 164757, 164786, 165163, 165429 | ||
Bug Blocks: |
Description
Keith Miller
2016-10-12 13:30:29 PDT
FYI WebAssembly.RuntimeError is in Source/JavaScriptCore/wasm/js/ 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. Two useful references: https://github.com/WebAssembly/design/issues/729 https://github.com/WebAssembly/design/pull/708 This seems related: https://github.com/WebAssembly/design/issues/883 I think this was done in other bugs, closing. |