summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1122839.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1122839.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1122839.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1122839.js b/js/src/jit-test/tests/ion/bug1122839.js
new file mode 100644
index 000000000..02bd090a5
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1122839.js
@@ -0,0 +1,11 @@
+x = '';
+Object.defineProperty(this, "y", {
+ get: function() {
+ return x
+ }
+})
+y
+x = 0
+x = new String;
+y.__proto__ = []
+y