summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug563000/eif-getter.js
blob: e64492ce479c22ac7ca9794ecac591c3b1627e17 (plain)
1
2
3
4
5
6
7
8
9
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");