blob: 78874ddea676380e9bb65f9e3bcd59a89b696332 [file] [log] [blame]
var g = newGlobal();
g.parent = this;
g.hits = 0;
g.eval("new Debugger(parent).onExceptionUnwind = function () { hits++; };");
function f() {
var x = f();
}
try {
f();
} catch (e) {
assertEq(e instanceof InternalError, true);
} finally {
assertEq(g.hits, 0);
}