summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug-1260725.js
blob: ce1c263f6ab39649466164ce1e63531760e1dfc2 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| skip-if: !('oomTest' in this)

var dbg = new Debugger;
dbg.onNewGlobalObject = function(global) {
  dbg.memory.takeCensus({});
};
oomTest(function() {
  newGlobal({sameZoneAs: this})
});