summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug980119.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug980119.js')
-rw-r--r--js/src/jit-test/tests/ion/bug980119.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug980119.js b/js/src/jit-test/tests/ion/bug980119.js
new file mode 100644
index 000000000..b6778164b
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug980119.js
@@ -0,0 +1,9 @@
+
+s = newGlobal()
+evalcx("\
+ x = new Uint8ClampedArray;\
+ x.__proto__ = [];\
+", s);
+evalcx("\
+ x[0]\
+", s);