summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1147939.js
blob: a2bd2cf798dee89c44b4192f91e5c70a4a53ba36 (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: TypeError
var g = newGlobal();
g.debuggeeGlobal = this;
g.eval("(" + function () {
        dbg = new Debugger(debuggeeGlobal);
        dbg.onExceptionUnwind = Map;
} + ")();");
throw new Error("oops");