mirror of https://github.com/tc39/test262.git
Add missing Symbol.split feature flags
This commit is contained in:
parent
5fc0a7c6a1
commit
1bdddabf97
|
@ -14,6 +14,7 @@ info: >
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js]
|
||||
features: [Symbol.split]
|
||||
---*/
|
||||
|
||||
assert.sameValue(RegExp.prototype[Symbol.split].length, 2);
|
||||
|
|
|
@ -14,6 +14,7 @@ info: >
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js]
|
||||
features: [Symbol.split]
|
||||
---*/
|
||||
|
||||
assert.sameValue(RegExp.prototype[Symbol.split].name, '[Symbol.split]');
|
||||
|
|
|
@ -15,7 +15,7 @@ info: >
|
|||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [Symbol.species, Symbol.split]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
|
Loading…
Reference in New Issue