diff options
Diffstat (limited to 'js/src/jit-test/tests/wasm/oom/breakpoints.js')
-rw-r--r-- | js/src/jit-test/tests/wasm/oom/breakpoints.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/oom/breakpoints.js b/js/src/jit-test/tests/wasm/oom/breakpoints.js new file mode 100644 index 0000000000..a90f97739a --- /dev/null +++ b/js/src/jit-test/tests/wasm/oom/breakpoints.js @@ -0,0 +1,12 @@ +// |jit-test| skip-if: !('oomTest' in this) + +var dbgGlobal = newGlobal({newCompartment: true}); +var dbg = new dbgGlobal.Debugger(); +dbg.addDebuggee(this); + +oomTest(() => { + wasmEvalText(` + (import "" "" (func $d)) + (func try call $d end) + `); +}); |