Add missing Symbol.match feature flags

This commit is contained in:
Leo Balter 2017-09-07 18:24:34 -04:00 committed by Rick Waldron
parent 72537004b0
commit f52f233934
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

@ -11,6 +11,7 @@ info: >
B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
features: [Symbol.match]
---*/
verifyNotEnumerable(RegExp.prototype, Symbol.match);