mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 13:34:38 +02:00
add esid to frontmatter for Array/length
This commit is contained in:
parent
2f4d0be4b8
commit
1341088b36
@ -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-properties-of-array-instances-length
|
||||||
es5id: 15.4.5.1-3.d-1
|
es5id: 15.4.5.1-3.d-1
|
||||||
description: >
|
description: >
|
||||||
Throw RangeError if attempt to set array length property to
|
Throw RangeError if attempt to set array length property to
|
||||||
|
@ -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-properties-of-array-instances-length
|
||||||
es5id: 15.4.5.1-3.d-2
|
es5id: 15.4.5.1-3.d-2
|
||||||
description: >
|
description: >
|
||||||
Throw RangeError if attempt to set array length property to
|
Throw RangeError if attempt to set array length property to
|
||||||
|
@ -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-properties-of-array-instances-length
|
||||||
es5id: 15.4.5.1-3.d-3
|
es5id: 15.4.5.1-3.d-3
|
||||||
description: Set array length property to max value 4294967295 (2**32-1,)
|
description: Set array length property to max value 4294967295 (2**32-1,)
|
||||||
---*/
|
---*/
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
The [[Prototype]] property of the newly constructed object
|
The [[Prototype]] property of the newly constructed object
|
||||||
is set to the original Array prototype object, the one that
|
is set to the original Array prototype object, the one that
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
The [[Prototype]] property of the newly constructed object
|
The [[Prototype]] property of the newly constructed object
|
||||||
is set to the original Array prototype object, the one that
|
is set to the original Array prototype object, the one that
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
The [[Prototype]] property of the newly constructed object
|
The [[Prototype]] property of the newly constructed object
|
||||||
is set to the original Array prototype object, the one that
|
is set to the original Array prototype object, the one that
|
||||||
|
@ -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-len
|
||||||
info: The [[Class]] property of the newly constructed object is set to "Array"
|
info: The [[Class]] property of the newly constructed object is set to "Array"
|
||||||
es5id: 15.4.2.2_A1.2_T1
|
es5id: 15.4.2.2_A1.2_T1
|
||||||
description: Checking use Object.prototype.toString
|
description: Checking use Object.prototype.toString
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is a Number and ToUint32(len) is equal to len,
|
If the argument len is a Number and ToUint32(len) is equal to len,
|
||||||
then the length property of the newly constructed object is set to ToUint32(len)
|
then the length property of the newly constructed object is set to ToUint32(len)
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is a Number and ToUint32(len) is not equal to len,
|
If the argument len is a Number and ToUint32(len) is not equal to len,
|
||||||
a RangeError exception is thrown
|
a RangeError exception is thrown
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is a Number and ToUint32(len) is not equal to len,
|
If the argument len is a Number and ToUint32(len) is not equal to len,
|
||||||
a RangeError exception is thrown
|
a RangeError exception is thrown
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is a Number and ToUint32(len) is not equal to len,
|
If the argument len is a Number and ToUint32(len) is not equal to len,
|
||||||
a RangeError exception is thrown
|
a RangeError exception is thrown
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is not a Number, then the length property of
|
If the argument len is not a Number, then the length property of
|
||||||
the newly constructed object is set to 1 and the 0 property of
|
the newly constructed object is set to 1 and the 0 property of
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is not a Number, then the length property of
|
If the argument len is not a Number, then the length property of
|
||||||
the newly constructed object is set to 1 and the 0 property of
|
the newly constructed object is set to 1 and the 0 property of
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is not a Number, then the length property of
|
If the argument len is not a Number, then the length property of
|
||||||
the newly constructed object is set to 1 and the 0 property of
|
the newly constructed object is set to 1 and the 0 property of
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is not a Number, then the length property of
|
If the argument len is not a Number, then the length property of
|
||||||
the newly constructed object is set to 1 and the 0 property of
|
the newly constructed object is set to 1 and the 0 property of
|
||||||
|
@ -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-len
|
||||||
info: >
|
info: >
|
||||||
If the argument len is not a Number, then the length property of
|
If the argument len is not a Number, then the length property of
|
||||||
the newly constructed object is set to 1 and the 0 property of
|
the newly constructed object is set to 1 and the 0 property of
|
||||||
|
@ -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-properties-of-the-array-prototype-object
|
||||||
info: Array prototype object has a length property
|
info: Array prototype object has a length property
|
||||||
es5id: 15.4.4_A1.3_T1
|
es5id: 15.4.4_A1.3_T1
|
||||||
description: Array.prototype.length === 0
|
description: Array.prototype.length === 0
|
||||||
|
@ -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-exotic-objects-defineownproperty-p-desc
|
||||||
info: If ToUint32(length) !== ToNumber(length), throw RangeError
|
info: If ToUint32(length) !== ToNumber(length), throw RangeError
|
||||||
es5id: 15.4.5.1_A1.1_T1
|
es5id: 15.4.5.1_A1.1_T1
|
||||||
description: length in [4294967296, -1, 1.5]
|
description: length in [4294967296, -1, 1.5]
|
||||||
|
@ -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-exotic-objects-defineownproperty-p-desc
|
||||||
info: If ToUint32(length) !== ToNumber(length), throw RangeError
|
info: If ToUint32(length) !== ToNumber(length), throw RangeError
|
||||||
es5id: 15.4.5.1_A1.1_T2
|
es5id: 15.4.5.1_A1.1_T2
|
||||||
description: length in [NaN, Infinity, -Infinity, undefined]
|
description: length in [NaN, Infinity, -Infinity, undefined]
|
||||||
|
@ -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-exotic-objects-defineownproperty-p-desc
|
||||||
info: >
|
info: >
|
||||||
For every integer k that is less than the value of
|
For every integer k that is less than the value of
|
||||||
the length property of A but not less than ToUint32(length),
|
the length property of A but not less than ToUint32(length),
|
||||||
|
@ -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-exotic-objects-defineownproperty-p-desc
|
||||||
info: >
|
info: >
|
||||||
For every integer k that is less than the value of
|
For every integer k that is less than the value of
|
||||||
the length property of A but not less than ToUint32(length),
|
the length property of A but not less than ToUint32(length),
|
||||||
|
@ -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-exotic-objects-defineownproperty-p-desc
|
||||||
info: Set the value of property length of A to Uint32(length)
|
info: Set the value of property length of A to Uint32(length)
|
||||||
es5id: 15.4.5.1_A1.3_T1
|
es5id: 15.4.5.1_A1.3_T1
|
||||||
description: length is object or primitve
|
description: length is object or primitve
|
||||||
|
@ -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-exotic-objects-defineownproperty-p-desc
|
||||||
info: Set the value of property length of A to Uint32(length)
|
info: Set the value of property length of A to Uint32(length)
|
||||||
es5id: 15.4.5.1_A1.3_T2
|
es5id: 15.4.5.1_A1.3_T2
|
||||||
description: Uint32 use ToNumber and ToPrimitve
|
description: Uint32 use ToNumber and ToPrimitve
|
||||||
|
@ -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-properties-of-array-instances-length
|
||||||
info: >
|
info: >
|
||||||
If the length property is changed, every property whose name
|
If the length property is changed, every property whose name
|
||||||
is an array index whose value is not smaller than the new length is automatically deleted
|
is an array index whose value is not smaller than the new length is automatically deleted
|
||||||
|
Loading…
x
Reference in New Issue
Block a user