| Index: test/mjsunit/harmony/array-species-modified.js
|
| diff --git a/test/mjsunit/harmony/array-species-modified.js b/test/mjsunit/harmony/array-species-modified.js
|
| index b5c5c16d7bfeb3374a4be371e046516f86c7bf4b..bd7ae2128e5802695fc2407212c1cd7169ddd17c 100644
|
| --- a/test/mjsunit/harmony/array-species-modified.js
|
| +++ b/test/mjsunit/harmony/array-species-modified.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 Array[Symbol.species] updates the protector
|
|
|
| @@ -18,6 +18,7 @@ assertEquals(1, x.concat([1])[0]);
|
| class MyArray extends Array { }
|
|
|
| Object.defineProperty(Array, Symbol.species, {value: MyArray});
|
| +assertEquals(0, %SpeciesProtector());
|
|
|
| assertEquals(MyArray, x.map(()=>{}).constructor);
|
| assertEquals(MyArray, x.filter(()=>{}).constructor);
|
|
|