summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testWeirdGetterInvocation.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/testWeirdGetterInvocation.js')
-rw-r--r--js/src/jit-test/tests/basic/testWeirdGetterInvocation.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testWeirdGetterInvocation.js b/js/src/jit-test/tests/basic/testWeirdGetterInvocation.js
new file mode 100644
index 0000000000..f272f3df97
--- /dev/null
+++ b/js/src/jit-test/tests/basic/testWeirdGetterInvocation.js
@@ -0,0 +1,6 @@
+function getArgs() { return arguments; }
+var a1 = getArgs(1);
+var a2 = getArgs(1);
+a1.__proto__ = a2;
+delete a1[0];
+a1[0];