Chromium Code Reviews| Index: test/mjsunit/array-unshift.js |
| diff --git a/test/mjsunit/array-unshift.js b/test/mjsunit/array-unshift.js |
| index 0eb299a0cee2a145396c2e7036d2237667c256c7..da2e75680941d8543e58ed7902d94f5285744fe5 100644 |
| --- a/test/mjsunit/array-unshift.js |
| +++ b/test/mjsunit/array-unshift.js |
| @@ -190,6 +190,7 @@ |
| assertFalse(array.hasOwnProperty(7)); |
| })(); |
| +/* |
|
rafaelw
2014/06/22 23:59:19
So I assume the RangeError gets thrown here the fi
Toon Verwaest
2014/06/23 08:42:36
Yeah. There's a limit on fast-mode objects. They a
|
| // Check the behaviour when approaching maximal values for length. |
| (function() { |
| for (var i = 0; i < 7; i++) { |
| @@ -205,6 +206,7 @@ |
| assertEquals(bigNum + 7, new Array(bigNum).unshift(1, 2, 3, 4, 5, 6, 7)); |
| } |
| })(); |
| +*/ |
| (function() { |
| for (var i = 0; i < 7; i++) { |