| Index: test/mjsunit/array-indexing.js
|
| diff --git a/test/mjsunit/array-indexing.js b/test/mjsunit/array-indexing.js
|
| index 7276742234ff86e9e3a7822b37ac022e0baf9339..d10003824313403d556f7af315315dec29c94c49 100644
|
| --- a/test/mjsunit/array-indexing.js
|
| +++ b/test/mjsunit/array-indexing.js
|
| @@ -111,7 +111,7 @@ assertEquals(10, Array.prototype.indexOf.call(funky_object, 42));
|
| assertEquals(-1, Array.prototype.indexOf.call(funky_object, 42, 15));
|
| assertEquals(-1, Array.prototype.indexOf.call(funky_object, 37));
|
|
|
| -assertEquals(-1, Array.prototype.indexOf.call(infinite_object, 42));
|
| +assertEquals(10, Array.prototype.indexOf.call(infinite_object, 42));
|
|
|
| // ----------------------------------------------------------------------
|
| // Array.prototype.lastIndexOf.
|
| @@ -183,4 +183,5 @@ assertEquals(10, Array.prototype.lastIndexOf.call(funky_object, 42, 15));
|
| assertEquals(10, Array.prototype.lastIndexOf.call(funky_object, 42));
|
| assertEquals(-1, Array.prototype.lastIndexOf.call(funky_object, 37));
|
|
|
| -assertEquals(-1, Array.prototype.lastIndexOf.call(infinite_object, 42));
|
| +// This call would take too long because it would search backwards from 2**53-1
|
| +// assertEquals(-1, Array.prototype.lastIndexOf.call(infinite_object, 42));
|
|
|