summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1107913.js
blob: b1ba03ba2a51ef00850c73a0d8bc48ba4da76bab (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError

var g = newGlobal();
g.parent = this;
g.eval("new Debugger(parent).onExceptionUnwind = function () {};");
Object.preventExtensions(this);
evaluate("function testcase() { }", { noScriptRval : true, isRunOnce: true });