Source code
Revision control
Copy as Markdown
Other Tools
// Debugger.prototype.getNewestFrame() ignores dummy frames.
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);