summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1251919.js
blob: 79fd05f8907fc1dc88b04d5de678acc19228a8d1 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| skip-if: !('oomTest' in this)

// jsfunfuzz-generated
fullcompartmentchecks(true);
// Adapted from randomly chosen test: js/src/jit-test/tests/debug/bug-1248162.js
var dbg = new Debugger;
dbg.onNewGlobalObject = function() {};
oomTest(function() {
    newGlobal({sameZoneAs: this});
})