summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/DebuggeeWouldRun-02.js
blob: 290effcb98e831ff2ba06b6c71bb78f2df5bd778 (plain)
1
2
3
4
5
6
7
// Bug 1250190: Shouldn't crash. |jit-test| exitstatus: 3

var g = newGlobal();
var dbg = Debugger(g)
dbg.onNewGlobalObject = () => g.newGlobal();
g.newGlobal();
print("yo");