summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1251919.js
blob: 188bfa39327ab88253d26b0c82c48c8c0ad40f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| error: out of memory

if (!('oomTest' in this))
    throw new Error("out of memory");

// 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();
})