blob: 004c634e6e2fa7595cf4baf5861213f25cc48f0b (
plain)
1
2
3
4
5
|
var g = newGlobal({newCompartment: true});
evaluate('function f() {}', {global: g});
var dbg = new Debugger;
var dg = dbg.addDebuggee(g);
dg.getOwnPropertyDescriptor('f').value.script.source;
|