blob: 4eb4944c2797bc99963a85a28d4f066b51bbe2cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
var g27 = newGlobal({newCompartment: true});
g27.debuggeeGlobal = this;
g27.eval(`
dbg = new Debugger(debuggeeGlobal);
dbg.onExceptionUnwind = function (frame, exc) {};
`);
s45 = newGlobal({newCompartment: true});
try {
evalcx(`
function h(h) {}
h.valueOf=g;
`, s45);
} catch (x) {}
try {
evalcx("throw h", s45)
} catch (x) {}
gcslice(100000);
|