| Index: test/mjsunit/harmony/typedarrays-every.js
|
| diff --git a/test/mjsunit/harmony/typedarrays-every.js b/test/mjsunit/harmony/typedarrays-every.js
|
| index 3f95ba9d4c0e374b11302dbeb38d4f36ae6b03fb..c81fd966ca623ae268b1d3b257fc07014574bf5f 100644
|
| --- a/test/mjsunit/harmony/typedarrays-every.js
|
| +++ b/test/mjsunit/harmony/typedarrays-every.js
|
| @@ -85,8 +85,9 @@ function TestTypedArrayForEach(constructor) {
|
| // still make .forEach() finish, and the array should keep being
|
| // empty after neutering it.
|
| count = 0;
|
| - a = new constructor(2);
|
| + a = new constructor(3);
|
| result = a.every(function (n, index, array) {
|
| + assertFalse(array[index] === undefined); // don't get here if neutered
|
| if (count > 0) %ArrayBufferNeuter(array.buffer);
|
| array[index] = n + 1;
|
| count++;
|
|
|