Add missing Symbol.split feature flags

This commit is contained in:
Leo Balter 2017-09-07 18:33:43 -04:00 committed by Rick Waldron
parent 5fc0a7c6a1
commit 1bdddabf97
3 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,7 @@ info: >
object has the attributes { [[Writable]]: false, [[Enumerable]]: false, object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }. [[Configurable]]: true }.
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Symbol.split]
---*/ ---*/
assert.sameValue(RegExp.prototype[Symbol.split].length, 2); assert.sameValue(RegExp.prototype[Symbol.split].length, 2);

View File

@ -14,6 +14,7 @@ info: >
object, if it exists, has the attributes { [[Writable]]: false, object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }. [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Symbol.split]
---*/ ---*/
assert.sameValue(RegExp.prototype[Symbol.split].name, '[Symbol.split]'); assert.sameValue(RegExp.prototype[Symbol.split].name, '[Symbol.split]');

View File

@ -15,7 +15,7 @@ info: >
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Symbol.species] features: [Symbol.species, Symbol.split]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;