diff options
Diffstat (limited to 'js/src/jit-test/tests/jaeger/bug563000/eif-getter-newvar.js')
-rw-r--r-- | js/src/jit-test/tests/jaeger/bug563000/eif-getter-newvar.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug563000/eif-getter-newvar.js b/js/src/jit-test/tests/jaeger/bug563000/eif-getter-newvar.js new file mode 100644 index 000000000..87e692340 --- /dev/null +++ b/js/src/jit-test/tests/jaeger/bug563000/eif-getter-newvar.js @@ -0,0 +1,9 @@ +load(libdir + "evalInFrame.js"); + +this.__defineGetter__("someProperty", function () { evalInFrame(1, "var x = 'success'"); }); +function caller(obj) { + var x = 'ignominy'; + obj.someProperty; + return x; +} +assertEq(caller(this), "success"); |