summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-551763-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/js1_8_5/regress/regress-551763-1.js')
-rw-r--r--js/src/tests/js1_8_5/regress/regress-551763-1.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/regress/regress-551763-1.js b/js/src/tests/js1_8_5/regress/regress-551763-1.js
new file mode 100644
index 000000000..aced2eb7a
--- /dev/null
+++ b/js/src/tests/js1_8_5/regress/regress-551763-1.js
@@ -0,0 +1,7 @@
+// |reftest| skip-if(xulRuntime.shell)
+// skip in the shell because 'arguments' is defined as a shell utility function
+
+/* Check we can delete arguments in the global space. */
+arguments = 42;
+reportCompare(delete arguments, true, "arguments defined as global");
+