mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
Add features flag for templates w/ Object spread and rest
This commit is contained in:
parent
54922174eb
commit
3f51de0c49
@ -8,6 +8,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
RestBindingInitialization creates a new object even if lhs is an empty object
|
RestBindingInitialization creates a new object even if lhs is an empty object
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
Rest deconstruction doesn't happen if getter return is abrupt
|
Rest deconstruction doesn't happen if getter return is abrupt
|
||||||
template: error
|
template: error
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -9,6 +9,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -8,6 +8,7 @@ desc: >
|
|||||||
assignment.
|
assignment.
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -10,6 +10,7 @@ esid: pending
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
RestBindingInitialization creates a new object even if lhs is a Number
|
RestBindingInitialization creates a new object even if lhs is a Number
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
Rest object contains just source object's own properties
|
Rest object contains just source object's own properties
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,7 +6,7 @@ desc: >
|
|||||||
The object rest deconstruction assignment target should obey `const` semantics.
|
The object rest deconstruction assignment target should obey `const` semantics.
|
||||||
template: error
|
template: error
|
||||||
esid: pending
|
esid: pending
|
||||||
features: [const]
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
Proper setting in the values for rest name equal to a property name.
|
Proper setting in the values for rest name equal to a property name.
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
RestBindingInitialization creats an object with indexes as property name
|
RestBindingInitialization creats an object with indexes as property name
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -6,6 +6,7 @@ desc: >
|
|||||||
RestBindingInitialization creates a new object if lhs is a Symbol
|
RestBindingInitialization creates a new object if lhs is a Symbol
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
binded as rest object.
|
binded as rest object.
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -8,6 +8,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
used by CopyDataProperties
|
used by CopyDataProperties
|
||||||
template: error
|
template: error
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- error
|
//- error
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
used by CopyDataProperties
|
used by CopyDataProperties
|
||||||
template: error
|
template: error
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- error
|
//- error
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -8,6 +8,7 @@ desc: >
|
|||||||
assignment.
|
assignment.
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -9,6 +9,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- elems
|
//- elems
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -7,6 +7,7 @@ desc: >
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-rest]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- elems
|
//- elems
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- error
|
//- error
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- error
|
//- error
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
desc: Getter in object literal is not evaluated
|
desc: Getter in object literal is not evaluated
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -5,6 +5,7 @@ desc: Object Spread overriding immutable properties
|
|||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
desc: Setter are not executed when redefined in Object Spread
|
desc: Setter are not executed when redefined in Object Spread
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
desc: Object Spread doesn't copy non-enumerable properties
|
desc: Object Spread doesn't copy non-enumerable properties
|
||||||
template: default
|
template: default
|
||||||
esid: pending
|
esid: pending
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -14,7 +14,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- args
|
//- args
|
||||||
|
@ -15,7 +15,7 @@ info: |
|
|||||||
3. ReturnIfAbrupt(fromValue).
|
3. ReturnIfAbrupt(fromValue).
|
||||||
4. Let excludedNames be a new empty List.
|
4. Let excludedNames be a new empty List.
|
||||||
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
5. Return CopyDataProperties(object, fromValue, excludedNames).
|
||||||
|
features: [object-spread]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- setup
|
//- setup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user