diff options
Diffstat (limited to 'js/src/tests/js1_8_5/regress/regress-551763-2.js')
-rw-r--r-- | js/src/tests/js1_8_5/regress/regress-551763-2.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/regress/regress-551763-2.js b/js/src/tests/js1_8_5/regress/regress-551763-2.js new file mode 100644 index 000000000..500488818 --- /dev/null +++ b/js/src/tests/js1_8_5/regress/regress-551763-2.js @@ -0,0 +1,6 @@ +// |reftest| skip-if(xulRuntime.shell) +// skip in the shell because 'arguments' is defined as a shell utility function + +/* Check we can't delete a var-declared arguments in global space. */ +var arguments = 42; +reportCompare(delete arguments, false, "arguments defined as global variable"); |