cfea0eb0e8
Context: https://github.com/WebAssembly/exception-handling/pull/197 This change adds the optional {traceStack: <bool>} parameter to the WebAssembly.Exception constructor. When set to true, this captures the stack and sets the `stack` accessor on the exception object. R=jkummerow@chromium.org Bug: v8:8091 Change-Id: I4430b6317b27ec62f11e951fbe95ee480ac72d37 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3688402 Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#81041}
8 lines
207 B
Plaintext
8 lines
207 B
Plaintext
*%(basename)s:16: [object WebAssembly.Exception]
|
|
throw exception;
|
|
^
|
|
Error
|
|
at throw_wasm_exn (*%(basename)s:15:19)
|
|
at throw (wasm://wasm/f232c786:wasm-function[1]:0x32)
|
|
at *%(basename)s:19:23
|