blob: 89ec2ea526c9de69aef2c85fdbb8d969268af6e6 (
plain)
1
2
3
4
5
6
7
8
9
|
// Debugger.prototype.getNewestFrame() ignores dummy frames.
// See bug 678086.
var g = newGlobal();
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);
|