summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1242798.js
blob: 38a4780a9dab5a9ca3fa21a09be59060f1a5aaf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var g = newGlobal({newCompartment: true});
var dbg = new Debugger(g);
g.eval("" + function f(c) {
  if (c == 0)
    return;
  if (c == 2)
    debugger;
  f(c-1);
  for (var i = 0; i < 100; i++)
    Debugger += newGlobal('#15: myObj.parseFloat !== parseFloat');
});
dbg.onDebuggerStatement = function (frame) {};
g.eval("f(2)");