Index: test/mjsunit/harmony/array-species-delete.js |
diff --git a/test/mjsunit/harmony/array-species-delete.js b/test/mjsunit/harmony/array-species-delete.js |
index bccf3a4df9d1adee9162f6c9ffd273998e478136..ba49414069de865c8ff94167138f316f71d83e25 100644 |
--- a/test/mjsunit/harmony/array-species-delete.js |
+++ b/test/mjsunit/harmony/array-species-delete.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --harmony-species |
+// Flags: --harmony-species --allow-natives-syntax |
// Overwriting the constructor of an instance updates the protector |
@@ -19,6 +19,7 @@ class MyArray extends Array { } |
Object.prototype[Symbol.species] = MyArray; |
delete Array[Symbol.species]; |
+assertFalse(%SpeciesProtector()); |
assertEquals(MyArray, x.map(()=>{}).constructor); |
assertEquals(MyArray, x.filter(()=>{}).constructor); |