blob: 32f6dab3fc10d4e1dcb81ff06bf23ab5c6407204 [file] [log] [blame]
// |jit-test| allow-oom
if (!('oomTest' in this))
quit();
var dbg = new Debugger;
dbg.onNewGlobalObject = function(global) {
global.seen = true;
};
oomTest(function() {
newGlobal({sameZoneAs: this})
});