Index: test/mjsunit/es6/typedarray-sort.js |
diff --git a/test/mjsunit/es6/typedarray-sort.js b/test/mjsunit/es6/typedarray-sort.js |
index b69009b22d47d2fa13ae5f9d4f67e6993a786118..9051a775d00d53548a39e99aee7fe1ff159f1072 100644 |
--- a/test/mjsunit/es6/typedarray-sort.js |
+++ b/test/mjsunit/es6/typedarray-sort.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, |
@@ -62,9 +60,4 @@ |
b[0] = 3; b[1] = 2; b[2] = 1; |
a.sort(); |
assertArrayLikeEquals(a, [1, 2], constructor); |
- |
- // Detached Operation |
- var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]); |
- %ArrayBufferNeuter(array.buffer); |
- assertThrows(() => array.sort(), TypeError); |
} |