summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/DebuggeeWouldRun-03.js
blob: 8978fe0c4864377ad645aa90ad8645652ff7d41a (plain)
1
2
3
4
5
6
7
8
9
// Bug 1250190: Shouldn't crash. |jit-test| error: yadda

var g = newGlobal();
var dbg = new Debugger(g);
dbg.onNewGlobalObject = function () {
  dbg.onNewGlobalObject = function () { throw "yadda"; };
  newGlobal();
}
newGlobal();