mirror of
https://github.com/tc39/test262.git
synced 2025-07-19 20:14:56 +02:00
add esid to array/prototype/push tests (#1116)
This commit is contained in:
parent
d6b492205d
commit
5ff6550197
@ -6,6 +6,7 @@ info: >
|
|||||||
The arguments are appended to the end of the array, in
|
The arguments are appended to the end of the array, in
|
||||||
the order in which they appear. The new length of the array is returned
|
the order in which they appear. The new length of the array is returned
|
||||||
as the result of the call
|
as the result of the call
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A1_T1
|
es5id: 15.4.4.7_A1_T1
|
||||||
description: Checking case when push is given no arguments or one argument
|
description: Checking case when push is given no arguments or one argument
|
||||||
---*/
|
---*/
|
||||||
|
@ -6,6 +6,7 @@ info: >
|
|||||||
The arguments are appended to the end of the array, in
|
The arguments are appended to the end of the array, in
|
||||||
the order in which they appear. The new length of the array is returned
|
the order in which they appear. The new length of the array is returned
|
||||||
as the result of the call
|
as the result of the call
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A1_T2
|
es5id: 15.4.4.7_A1_T2
|
||||||
description: Checking case when push is given many arguments
|
description: Checking case when push is given many arguments
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The push function is intentionally generic.
|
The push function is intentionally generic.
|
||||||
It does not require that its this value be an Array object
|
It does not require that its this value be an Array object
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A2_T1
|
es5id: 15.4.4.7_A2_T1
|
||||||
description: >
|
description: >
|
||||||
The arguments are appended to the end of the array, in the order
|
The arguments are appended to the end of the array, in the order
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The push function is intentionally generic.
|
The push function is intentionally generic.
|
||||||
It does not require that its this value be an Array object
|
It does not require that its this value be an Array object
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A2_T2
|
es5id: 15.4.4.7_A2_T2
|
||||||
description: >
|
description: >
|
||||||
The arguments are appended to the end of the array, in the order
|
The arguments are appended to the end of the array, in the order
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The push function is intentionally generic.
|
The push function is intentionally generic.
|
||||||
It does not require that its this value be an Array object
|
It does not require that its this value be an Array object
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A2_T3
|
es5id: 15.4.4.7_A2_T3
|
||||||
description: >
|
description: >
|
||||||
Operator use ToNumber from length. If Type(value) is Object,
|
Operator use ToNumber from length. If Type(value) is Object,
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Check ToLength(length) for Array object
|
info: Check ToLength(length) for Array object
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A3
|
es5id: 15.4.4.7_A3
|
||||||
description: If ToUint32(length) !== length, throw RangeError
|
description: If ToUint32(length) !== length, throw RangeError
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Check ToLength(length) for non Array objects
|
info: Check ToLength(length) for non Array objects
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A4_T1
|
es5id: 15.4.4.7_A4_T1
|
||||||
description: length = 4294967296
|
description: length = 4294967296
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Check ToLength(length) for non Array objects
|
info: Check ToLength(length) for non Array objects
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A4_T2
|
es5id: 15.4.4.7_A4_T2
|
||||||
description: length = 4294967295
|
description: length = 4294967295
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Check ToLength(length) for non Array objects
|
info: Check ToLength(length) for non Array objects
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A4_T3
|
es5id: 15.4.4.7_A4_T3
|
||||||
description: length = -1
|
description: length = -1
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: "[[Get]] from not an inherited property"
|
info: "[[Get]] from not an inherited property"
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A5_T1
|
es5id: 15.4.4.7_A5_T1
|
||||||
description: >
|
description: >
|
||||||
[[Prototype]] of Array instance is Array.prototype, [[Prototype]
|
[[Prototype]] of Array instance is Array.prototype, [[Prototype]
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: The push property of Array can't be used as constructor
|
info: The push property of Array can't be used as constructor
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es5id: 15.4.4.7_A6.7
|
es5id: 15.4.4.7_A6.7
|
||||||
description: >
|
description: >
|
||||||
If property does not implement the internal [[Construct]] method,
|
If property does not implement the internal [[Construct]] method,
|
||||||
|
1
test/built-ins/Array/prototype/push/name.js
vendored
1
test/built-ins/Array/prototype/push/name.js
vendored
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.push
|
||||||
es6id: 22.1.3.17
|
es6id: 22.1.3.17
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.push.name is "push".
|
Array.prototype.push.name is "push".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user