summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/oom/breakpoints.js
blob: eabb660e0fef7509322c90ccc5473cf52a4a24a8 (plain)
1
2
3
4
5
6
7
8
9
10
var dbgGlobal = newGlobal({newCompartment: true});
var dbg = new dbgGlobal.Debugger();
dbg.addDebuggee(this);

oomTest(() => {
  wasmEvalText(`
    (import "" "" (func $d))
    (func try call $d end)
  `);
});