add esid to array/prototype/reverse tests

This commit is contained in:
deathbearbrown 2017-06-30 10:27:45 -07:00 committed by Rick Waldron
parent 8da8fff0ad
commit a62da2b499
11 changed files with 75 additions and 64 deletions

View File

@ -5,6 +5,7 @@
info: > info: >
The elements of the array are rearranged so as to reverse their order. The elements of the array are rearranged so as to reverse their order.
The object is returned as the result of the call The object is returned as the result of the call
esid: sec-array.prototype.reverse
es5id: 15.4.4.8_A1_T1 es5id: 15.4.4.8_A1_T1
description: Checking case when reverse is given no arguments or one argument description: Checking case when reverse is given no arguments or one argument
---*/ ---*/

View File

@ -5,6 +5,7 @@
info: > info: >
The elements of the array are rearranged so as to reverse their order. The elements of the array are rearranged so as to reverse their order.
The object is returned as the result of the call The object is returned as the result of the call
esid: sec-array.prototype.reverse
es5id: 15.4.4.8_A1_T2 es5id: 15.4.4.8_A1_T2
description: Checking this algorithm, elements are objects and primitives description: Checking this algorithm, elements are objects and primitives
---*/ ---*/

View File

@ -5,6 +5,7 @@
info: > info: >
The reverse function is intentionally generic. The reverse 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.reverse
es5id: 15.4.4.8_A2_T1 es5id: 15.4.4.8_A2_T1
description: > description: >
Checking this for Object object, elements are objects and Checking this for Object object, elements are objects and

View File

@ -5,6 +5,7 @@
info: > info: >
The reverse function is intentionally generic. The reverse 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.reverse
es5id: 15.4.4.8_A2_T2 es5id: 15.4.4.8_A2_T2
description: > description: >
Checking this for Object object, elements are objects and Checking this for Object object, elements are objects and

View File

@ -5,6 +5,7 @@
info: > info: >
The reverse function is intentionally generic. The reverse 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.reverse
es5id: 15.4.4.8_A2_T3 es5id: 15.4.4.8_A2_T3
description: > description: >
Checking this for Object object, elements are objects and Checking this for Object object, elements are objects and

View File

@ -3,6 +3,7 @@
/*--- /*---
info: Check ToLength(length) for non Array objects info: Check ToLength(length) for non Array objects
esid: sec-array.prototype.reverse
es5id: 15.4.4.8_A3_T3 es5id: 15.4.4.8_A3_T3
description: length = -4294967294 description: length = -4294967294
---*/ ---*/

View File

@ -3,6 +3,7 @@
/*--- /*---
info: "[[Get]], [[Delete]] from not an inherited property" info: "[[Get]], [[Delete]] from not an inherited property"
esid: sec-array.prototype.reverse
es5id: 15.4.4.8_A4_T1 es5id: 15.4.4.8_A4_T1
description: > description: >
[[Prototype]] of Array instance is Array.prototype, [[Prototype] [[Prototype]] of Array instance is Array.prototype, [[Prototype]

View File

@ -3,6 +3,7 @@
/*--- /*---
info: "[[Get]], [[Delete]] from not an inherited property" info: "[[Get]], [[Delete]] from not an inherited property"
esid: sec-array.prototype.reverse
es5id: 15.4.4.8_A4_T2 es5id: 15.4.4.8_A4_T2
description: > description: >
[[Prototype]] of Array instance is Array.prototype, [[Prototype] [[Prototype]] of Array instance is Array.prototype, [[Prototype]

View File

@ -3,6 +3,7 @@
/*--- /*---
info: The reverse property of Array can't be used as constructor info: The reverse property of Array can't be used as constructor
esid: sec-array.prototype.reverse
es5id: 15.4.4.8_A5.7 es5id: 15.4.4.8_A5.7
description: > description: >
If property does not implement the internal [[Construct]] method, If property does not implement the internal [[Construct]] method,

View File

@ -18,6 +18,7 @@ info: >
i. If upperExists is true, then i. If upperExists is true, then
i. Let upperValue be Get(O, upperP). i. Let upperValue be Get(O, upperP).
ii. ReturnIfAbrupt(upperValue). ii. ReturnIfAbrupt(upperValue).
esid: sec-array.prototype.reverse
es6id: 22.1.3.20 es6id: 22.1.3.20
---*/ ---*/

View File

@ -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.reverse
es6id: 22.1.3.20 es6id: 22.1.3.20
description: > description: >
Array.prototype.reverse.name is "reverse". Array.prototype.reverse.name is "reverse".