Source code

Revision control

Copy as Markdown

Other Tools

// |jit-test| allow-oom
// Adapted from randomly chosen test: js/src/jit-test/tests/debug/Debugger-onNewGlobalObject-01.js
for (var i = 0; i < 9; ++i) {
var dbg = new Debugger;
dbg.onNewGlobalObject = function() {};
}
// jsfunfuzz-generated
oomTest(function() {
newGlobal({sameZoneAs: this});
})