mirror of https://github.com/tc39/test262.git
Add missing Symbol.match feature flags
This commit is contained in:
parent
72537004b0
commit
f52f233934
|
@ -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);
|
||||
|
|
|
@ -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]');
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue