Index: test/mjsunit/es6/typedarray-find.js |
diff --git a/test/mjsunit/es6/typedarray-find.js b/test/mjsunit/es6/typedarray-find.js |
index 6f646e5c80eab65ca335ab06c03a24ca0b3fa295..69ceedc8b5d5c2d9e32670cfa22a4769ea3f7881 100644 |
--- a/test/mjsunit/es6/typedarray-find.js |
+++ b/test/mjsunit/es6/typedarray-find.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, |
@@ -186,17 +184,4 @@ |
function(elt) { x += elt; return false; }), undefined); |
assertEquals(x, 4); |
-// 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.find(tmp), TypeError); |
} |