diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/bug1280252.js')
-rw-r--r-- | js/src/jit-test/tests/basic/bug1280252.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1280252.js b/js/src/jit-test/tests/basic/bug1280252.js new file mode 100644 index 000000000..486d2d2a5 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug1280252.js @@ -0,0 +1,9 @@ +function f() { + x = arguments; + delete x[1]; +} +f(0, 1); +gc(); +assertEq(x.length, 2); +assertEq(0 in x, true); +assertEq(1 in x, false); |