Revision f230a1cf deps/v8/test/mjsunit/array-functions-prototype-misc.js
deps/v8/test/mjsunit/array-functions-prototype-misc.js | ||
---|---|---|
31 | 31 |
* should work on other objects too, so we test that too. |
32 | 32 |
*/ |
33 | 33 |
|
34 |
var LARGE = 40000000;
|
|
34 |
var LARGE = 4000000; |
|
35 | 35 |
var VERYLARGE = 4000000000; |
36 | 36 |
|
37 | 37 |
// Nicer for firefox 1.5. Unless you uncomment the following two lines, |
... | ... | |
276 | 276 |
} |
277 | 277 |
|
278 | 278 |
// Take something near the end of the array. |
279 |
for (var i = 0; i < 100; i++) {
|
|
279 |
for (var i = 0; i < 10; i++) { |
|
280 | 280 |
var top = a.splice(LARGE, 5); |
281 | 281 |
assertEquals(5, top.length); |
282 | 282 |
assertEquals(LARGE, top[0]); |
Also available in: Unified diff