blob: 2836f4511e0c5ac41d7f48458fc3f49a9c57f85b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| error:7
var g = newGlobal({newCompartment: true})
g.parent = this
g.eval("(" + function() {
Debugger(parent).onExceptionUnwind = function(frame) {
frame.older
}
} + ")()")
function f1(i) {
return f2(i|0);
};
function f2(i) {
if (i === 0) throw 7;
return f1(i - 1);
}
f1(10);
|