summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1254123.js
blob: c96753b3050330875835355eb582a854456c47dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
evaluate(`
function ERROR(msg) {
  throw new Error("boom");
}
for (var i = 0; i < 9; ++ i) {
  var dbg = new Debugger;
  dbg.onNewGlobalObject = ERROR;
}
oomTest(function() {
  newGlobal({sameZoneAs: this});
})
`);