add esid to array/prototype/shift tests

This commit is contained in:
deathbearbrown 2017-06-30 10:29:17 -07:00 committed by Rick Waldron
parent a62da2b499
commit da291ca3b1
12 changed files with 67 additions and 55 deletions

View File

@ -5,6 +5,7 @@
info: >
If length equal zero, call the [[Put]] method of this object
with arguments "length" and 0 and return undefined
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A1.1_T1
description: Checking this algorithm
---*/

View File

@ -5,6 +5,7 @@
info: >
The first element of the array is removed from the array and
returned
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A1.2_T1
description: Checking this use new Array() and []
---*/

View File

@ -5,6 +5,7 @@
info: >
The shift function is intentionally generic.
It does not require that its this value be an Array object
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A2_T1
description: >
If ToUint32(length) equal zero, call the [[Put]] method of this

View File

@ -5,6 +5,7 @@
info: >
The shift function is intentionally generic.
It does not require that its this value be an Array object
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A2_T2
description: >
If ToUint32(length) equal zero, call the [[Put]] method of this

View File

@ -5,6 +5,7 @@
info: >
The shift function is intentionally generic.
It does not require that its this value be an Array object
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A2_T3
description: >
The first element of the array is removed from the array and

View File

@ -5,6 +5,7 @@
info: >
The shift function is intentionally generic.
It does not require that its this value be an Array object
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A2_T4
description: >
The first element of the array is removed from the array and

View File

@ -5,6 +5,7 @@
info: >
The shift function is intentionally generic.
It does not require that its this value be an Array object
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A2_T5
description: >
Operator use ToNumber from length. If Type(value) is Object,

View File

@ -3,6 +3,7 @@
/*---
info: Check ToLength(length) for non Array objects
esid: sec-array.prototype.shift
es5id: 15.4.4.9_A3_T3
description: length is arbitrarily
---*/

View File

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

View File

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

View File

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

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.shift
es6id: 22.1.3.21
description: >
Array.prototype.shift.name is "shift".