Index: test/mjsunit/es6/typedarray-tostring.js |
diff --git a/test/mjsunit/es6/typedarray-tostring.js b/test/mjsunit/es6/typedarray-tostring.js |
index a1fa9c7665c46a393e6db7eabb3ac301e0b143a4..9d49cb1cc9a76b23c0e638f69bf71c42fa4e6e43 100644 |
--- a/test/mjsunit/es6/typedarray-tostring.js |
+++ b/test/mjsunit/es6/typedarray-tostring.js |
@@ -4,8 +4,6 @@ |
// Array's toString should call the object's own join method, if one exists and |
// is callable. Otherwise, just use the original Object.toString function. |
- |
-// Flags: --allow-natives-syntax |
var typedArrayConstructors = [ |
Uint8Array, |
@@ -98,11 +96,4 @@ |
Number.prototype.toLocaleString = NumberToLocaleString; |
})(); |
- |
- // Detached Operation |
- var array = new constructor([1, 2, 3]); |
- %ArrayBufferNeuter(array.buffer); |
- assertThrows(() => array.join(), TypeError); |
- assertThrows(() => array.toLocalString(), TypeError); |
- assertThrows(() => array.toString(), TypeError); |
} |