summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1878511.js
blob: a6a550c4b7be1c3c2b0749c5c3343d7565495b62 (plain)
1
2
3
4
5
6
7
8
var c = 0;
var dbg = new Debugger();
oomTest(function () {
  if (c++ <= 20) {
    newGlobal({newCompartment: true});
  }
});
dbg.addAllGlobalsAsDebuggees();