summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1232386.js
blob: 82a33a7ec482b6f58bd47b6fe9c1a715726ee693 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| allow-oom; skip-if: !('oomTest' in this)

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

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