diff options
Diffstat (limited to 'V8Binding/v8/test/mjsunit/array-splice.js')
-rw-r--r-- | V8Binding/v8/test/mjsunit/array-splice.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/V8Binding/v8/test/mjsunit/array-splice.js b/V8Binding/v8/test/mjsunit/array-splice.js index d308ef5..0543c32 100644 --- a/V8Binding/v8/test/mjsunit/array-splice.js +++ b/V8Binding/v8/test/mjsunit/array-splice.js @@ -309,3 +309,6 @@ Array.prototype[1] = 1; assertEquals(1, arr.pop()); assertEquals(0, arr.pop()); Array.prototype[1] = undefined; + +// Test http://code.google.com/p/chromium/issues/detail?id=21860 +Array.prototype.push.apply([], [1].splice(0, -(-1 % 5))); |