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