summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1880444.js
blob: d7e644310fc3843f94d757f1b2a5ca3e23c620d8 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| --more-compartments; error:ReferenceError

gczeal(19, 5)
evaluate(`
  a = newGlobal()
  Debugger(a).onDebuggerStatement = function () { b };
  a.eval("var line0 = Error().lineNumber\\ndebugger\\n" )
`);
gczeal(15);
gczeal(10, 2)();