blob: a1631ccd36cb436305343380bc05ed3b28f1ed38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// |jit-test| mjitalways;debug
setDebug(true);
this.__defineGetter__("someProperty", function () { evalInFrame(1, "x = 'success'"); });
function caller(obj) {
assertJit();
var x = "failure";
obj.someProperty;
return x;
}
assertEq(caller(this), "success");
|