summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1703760.js
blob: 4eec3f8d2710ad1252a8f16e1296cd79d96eca82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let g = newGlobal({newCompartment: true});

Debugger(g).onEnterFrame = function(fr) {
    fr.eval("")
};

gczeal(11);
gczeal(9, 9);

g.eval(`
  var count = 0;
  function inner() {
    if (++count < 20) {
      inner();
    }
  }
  inner();
`);