Source code

Revision control

Copy as Markdown

Other Tools

load(libdir + "evalInFrame.js");
this.__defineGetter__("someProperty", function () { evalInFrame(1, "x = 'success'"); });
function caller(obj) {
var x = "failure";
obj.someProperty;
return x;
}
assertEq(caller(this), "success");