blob: 97e54f62fca6483fd59fb6c6a038922c8b13a144 (
plain)
1
2
3
4
5
6
7
|
// Don't crash when getting the Debugger.Environment of a frame inside
// Function.prototype.
var g = newGlobal({newCompartment: true});
var dbg = new Debugger(g);
dbg.onEnterFrame = function (frame) { frame.environment; };
g.Function.prototype();
|