mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 22:45:10 +02:00
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,
|
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);
|
||||||
|
@ -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]');
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user