blob: ef33e35b2026e640fe3d912bd8068a8833501454 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| skip-if: !('stackTest' in this)
var dbgGlobal = newGlobal({newCompartment: true});
var dbg = new dbgGlobal.Debugger(this);
function f1() {
dbg.getNewestFrame().older;
throw new Error();
}
function f2() { f1(); }
function f3() { f2(); }
stackTest(f3);
|