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