Add missing Symbol.species feature flags

This commit is contained in:
Leo Balter 2017-09-07 18:32:27 -04:00 committed by Rick Waldron
parent a9099c1f20
commit 5fc0a7c6a1
14 changed files with 14 additions and 0 deletions

View File

@ -20,6 +20,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -20,6 +20,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,6 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -20,6 +20,7 @@ info: |
12. Perform ? Set(A, "length", actualDeleteCount, true). 12. Perform ? Set(A, "length", actualDeleteCount, true).
... ...
includes: [compareArray.js, proxyTrapsHelper.js] includes: [compareArray.js, proxyTrapsHelper.js]
features: [Symbol.species]
---*/ ---*/
function StopSplice() {} function StopSplice() {}

View File

@ -9,6 +9,7 @@ author: Sam Mikes
description: Symbol.species exists description: Symbol.species exists
includes: includes:
- propertyHelper.js - propertyHelper.js
features: [Symbol.species]
---*/ ---*/
assert(Symbol !== undefined, "Symbol exists"); assert(Symbol !== undefined, "Symbol exists");

View File

@ -9,6 +9,7 @@ author: Sam Mikes
description: Symbol.species getters have defined names description: Symbol.species getters have defined names
includes: includes:
- propertyHelper.js - propertyHelper.js
features: [Symbol.species]
---*/ ---*/
function getGetterName(obj, name) { function getGetterName(obj, name) {

View File

@ -9,6 +9,7 @@ author: Sam Mikes
description: Symbol.species is retained on subclassing description: Symbol.species is retained on subclassing
includes: includes:
- propertyHelper.js - propertyHelper.js
features: [Symbol.species]
---*/ ---*/
class MyRegExp extends RegExp { class MyRegExp extends RegExp {