summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1232386.js
blob: b768176cf09abd339cc84d6733bfe19f65469308 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| allow-oom

var dbg = new Debugger;
dbg.onNewGlobalObject = function(global) {
    global.seen = true;
};

oomTest(function() {
    newGlobal({sameZoneAs: this})
});