summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug-858170.js
blob: a45002a5974051d9d193552d82f4df24d92db4fc (plain)
1
2
3
4
5
6
7
var g = newGlobal();
var dbg = Debugger(g);
dbg.onNewScript = function (s) {
    throw new Error();
};
dbg.uncaughtExceptionHook = function () {}
g.eval("2 * 3");