Debian Codegraph @

js/src/jit-test/tests/debug/bug1130768.js

raw
1 // |jit-test| error:foo
2 var g = newGlobal({newCompartment: true});
3 g.parent = this;
4 g.eval("(" + function() {
5 var dbg = new Debugger(parent);
6 count = 0;
7 dbg.onExceptionUnwind = function(frame) {
8 frame.onPop = function() { if (count++ < 30) frame.eval("x = 3"); };
9 };
10 } + ")()");
11 Object.defineProperty(this, "x", {set: [].map});
12 throw "foo";