summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug-1103386.js
blob: 3db8e10a7b12de4cde962f0a4e84cbbe6437e969 (plain)
1
2
3
4
5
6
7
8
9
10
load(libdir + "immutable-prototype.js");

// Random chosen test: js/src/jit-test/tests/auto-regress/bug700295.js
if (globalPrototypeChainIsMutable()) {
  __proto__ = null;
  Object.prototype.__proto__ = this;
}

// Random chosen test: js/src/jit-test/tests/debug/Memory-takeCensus-05.js
Debugger(newGlobal({newCompartment: true})).memory.takeCensus();