| Index: test/mjsunit/es6/typedarray-slice.js
|
| diff --git a/test/mjsunit/es6/typedarray-slice.js b/test/mjsunit/es6/typedarray-slice.js
|
| index 16adabd6ce8ba6e3252ac0a17e8375bacd50d501..8f94f156afa51c48ca7c50de8f298495ecce4eaa 100644
|
| --- a/test/mjsunit/es6/typedarray-slice.js
|
| +++ b/test/mjsunit/es6/typedarray-slice.js
|
| @@ -1,8 +1,6 @@
|
| // Copyright 2015 the V8 project authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -
|
| -// Flags: --allow-natives-syntax
|
|
|
| var typedArrayConstructors = [
|
| Uint8Array,
|
| @@ -71,19 +69,6 @@
|
| assertEquals(3, slice[1]);
|
| assertTrue(slice instanceof constructor);
|
|
|
| - // Detached Operation
|
| - var tmp = {
|
| - [Symbol.toPrimitive]() {
|
| - assertUnreachable("Parameter should not be processed when " +
|
| - "array.[[ViewedArrayBuffer]] is neutered.");
|
| - return 0;
|
| - }
|
| - };
|
| -
|
| - var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
|
| - %ArrayBufferNeuter(array.buffer);
|
| - assertThrows(() => array.slice(tmp, tmp), TypeError);
|
| -
|
| // Check that the species array must be a typed array
|
| class MyTypedArray extends constructor {
|
| static get[Symbol.species]() {
|
|
|