blob: b9396e2f926e8a2904c4a9e0ca98934c2fd8e6d8 (
plain)
1
2
3
4
5
6
7
8
9
|
// Debugger.prototype.getNewestFrame() ignores dummy frames.
// See bug 678086.
var g = newGlobal({newCompartment: true});
g.f = function () { return dbg.getNewestFrame(); };
var dbg = new Debugger;
var gw = dbg.addDebuggee(g);
var fw = gw.getOwnPropertyDescriptor("f").value;
assertEq(fw.call().return, null);
|