| Index: test/mjsunit/es6/typedarray-iteration.js
|
| diff --git a/test/mjsunit/es6/typedarray-iteration.js b/test/mjsunit/es6/typedarray-iteration.js
|
| index b423ed0f045fe873028371659d787b8053a1bfdc..9560cbc5dff4efebe81979b7c1e0b39a58feffc0 100644
|
| --- a/test/mjsunit/es6/typedarray-iteration.js
|
| +++ b/test/mjsunit/es6/typedarray-iteration.js
|
| @@ -3,8 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| // Tests for standard TypedArray array iteration functions.
|
| -
|
| -// Flags: --allow-natives-syntax
|
|
|
| var typedArrayConstructors = [
|
| Uint8Array,
|
| @@ -79,11 +77,6 @@
|
| assertArrayLikeEquals([2], a.filter(function(elt) {
|
| return elt == 2;
|
| }), constructor);
|
| -
|
| - // Detached Operation
|
| - var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
|
| - %ArrayBufferNeuter(array.buffer);
|
| - assertThrows(() => array.filter(() => false), TypeError);
|
| })();
|
|
|
| (function TypedArrayMapTest() {
|
| @@ -137,11 +130,6 @@
|
| return NaN;
|
| }), constructor);
|
| }
|
| -
|
| - // Detached Operation
|
| - var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
|
| - %ArrayBufferNeuter(array.buffer);
|
| - assertThrows(() => array.map((v) => v), TypeError);
|
| })();
|
|
|
| //
|
| @@ -201,11 +189,6 @@
|
| assertEquals(false, Array.prototype.some.call(a, function(elt) {
|
| return elt == 2;
|
| }));
|
| -
|
| - // Detached Operation
|
| - var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
|
| - %ArrayBufferNeuter(array.buffer);
|
| - assertThrows(() => array.some((v) => false), TypeError);
|
| })();
|
|
|
| }
|
|
|