| 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..61eeaca700b04407c963b4040301039ccad53b29 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];
|
| +assertEquals(0, %SpeciesProtector());
|
|
|
| assertEquals(MyArray, x.map(()=>{}).constructor);
|
| assertEquals(MyArray, x.filter(()=>{}).constructor);
|
|
|