blob: f3e1a334bc5495b473564c9ff1f889441459058b (
plain)
1
2
3
4
5
6
7
|
var g = newGlobal({newCompartment: true});
var dbg = Debugger(g);
dbg.onNewScript = function (s) {
throw new Error();
};
dbg.uncaughtExceptionHook = function () {}
g.eval("2 * 3");
|