mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 05:24:38 +02:00
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,
|
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||||
[[Configurable]]: true }.
|
[[Configurable]]: true }.
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [Symbol.match]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(RegExp.prototype[Symbol.match].length, 1);
|
assert.sameValue(RegExp.prototype[Symbol.match].length, 1);
|
||||||
|
@ -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.match]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(RegExp.prototype[Symbol.match].name, '[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,
|
B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
|
||||||
[[Configurable]]: true } unless otherwise specified.
|
[[Configurable]]: true } unless otherwise specified.
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [Symbol.match]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
verifyNotEnumerable(RegExp.prototype, Symbol.match);
|
verifyNotEnumerable(RegExp.prototype, Symbol.match);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user