add esid to array/prototype/lastIndexOf tests (#1113)

This commit is contained in:
Sue Lockwood 2017-06-30 07:42:36 -07:00 committed by Leo Balter
parent 7457fe6608
commit d22b84173e
187 changed files with 213 additions and 26 deletions

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-1
description: Array.prototype.lastIndexOf applied to undefined throws a TypeError
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-10
description: Array.prototype.lastIndexOf applied to the Math object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-11
description: Array.prototype.lastIndexOf applied to Date object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-12
description: Array.prototype.lastIndexOf applied to RegExp object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-13
description: Array.prototype.lastIndexOf applied to the JSON object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-14
description: Array.prototype.lastIndexOf applied to Error object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-15
description: Array.prototype.lastIndexOf applied to the Arguments object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-2
description: Array.prototype.lastIndexOf applied to null throws a TypeError
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-3
description: Array.prototype.lastIndexOf applied to boolean primitive
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-4
description: Array.prototype.lastIndexOf applied to Boolean object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-5
description: Array.prototype.lastIndexOf applied to number primitive
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-6
description: Array.prototype.lastIndexOf applied to Number object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-7
description: Array.prototype.lastIndexOf applied to string primitive
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-8
description: Array.prototype.lastIndexOf applied to String object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-1-9
description: Array.prototype.lastIndexOf applied to Function object
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-1
description: >
Array.prototype.lastIndexOf - 'length' is own data property on an

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-10
description: >
Array.prototype.lastIndexOf - 'length' is inherited accessor

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-11
description: >
Array.prototype.lastIndexOf - 'length' is own accessor property

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-12
description: >
Array.prototype.lastIndexOf - 'length' is own accessor property

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-13
description: >
Array.prototype.lastIndexOf - 'length' is inherited accessor

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-14
description: >
Array.prototype.lastIndexOf - 'length' is undefined property on an

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-17
description: >
Array.prototype.lastIndexOf applied to Arguments object which

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-18
description: >
Array.prototype.lastIndexOf applied to String object which

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-19
description: >
Array.prototype.lastIndexOf applied to String object which

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-2
description: >
Array.prototype.lastIndexOf - 'length' is own data property on an

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-3
description: >
Array.prototype.lastIndexOf - 'length' is own data property that

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-4
description: >
Array.prototype.lastIndexOf when 'length' is own data property

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-5
description: >
Array.prototype.lastIndexOf - 'length' is own data property that

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-6
description: >
Array.prototype.lastIndexOf - 'length' is an inherited data

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-7
description: >
Array.prototype.lastIndexOf - 'length' is own accessor property on

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-8
description: >
Array.prototype.lastIndexOf - 'length' is own accessor property

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-2-9
description: >
Array.prototype.lastIndexOf - 'length' is own accessor property

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-1
description: Array.prototype.lastIndexOf - value of 'length' is undefined
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-10
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-11
description: >
Array.prototype.lastIndexOf - value of 'length' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-12
description: >
Array.prototype.lastIndexOf - value of 'length' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-13
description: >
Array.prototype.lastIndexOf - value of 'length' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-14
description: >
Array.prototype.lastIndexOf - value of 'length' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-15
description: >
Array.prototype.lastIndexOf - value of 'length' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-16
description: >
Array.prototype.lastIndexOf - value of 'length' is a string which

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-17
description: >
Array.prototype.lastIndexOf - value of 'length' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-18
description: >
Array.prototype.lastIndexOf - value of 'length' is a string that

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-19
description: >
Array.prototype.lastIndexOf - value of 'length' is an Object which

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-2
description: >
Array.prototype.lastIndexOf return -1 when value of 'length' is a

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-20
description: >
Array.prototype.lastIndexOf - value of 'length' is an Object which

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-21
description: >
Array.prototype.lastIndexOf - 'length' is an object that has an

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-22
description: >
Array.prototype.lastIndexOf throws TypeError exception when

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-23
description: >
Array.prototype.lastIndexOf uses inherited valueOf method when

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-24
description: >
Array.prototype.lastIndexOf - value of 'length' is a positive

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-25
description: >
Array.prototype.lastIndexOf - value of 'length' is a negative

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-28
description: >
Array.prototype.lastIndexOf - value of 'length' is boundary value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-3
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-4
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-5
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-6
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-7
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-3-9
description: >
Array.prototype.lastIndexOf - value of 'length' is a number (value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-1
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 (empty

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-10
description: Array.prototype.lastIndexOf - 'length' is a number of value -6e-1
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-11
description: Array.prototype.lastIndexOf - 'length' is an empty string
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-2
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 ( length
@ -9,6 +10,6 @@ description: >
---*/
var i = Array.prototype.lastIndexOf.call({length: null}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-3
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 (length
@ -9,6 +10,6 @@ description: >
---*/
var i = Array.prototype.lastIndexOf.call({length: false}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-4
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 (generic
@ -12,8 +13,8 @@ description: >
function foo() {}
var f = new foo();
f.length = 0;
var i = Array.prototype.lastIndexOf.call({length: 0}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-5
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 ( length
@ -9,6 +10,6 @@ description: >
---*/
var i = Array.prototype.lastIndexOf.call({length: '0'}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-6
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0
@ -9,6 +10,6 @@ description: >
---*/
var i = Array.prototype.lastIndexOf.call({length: { valueOf: function () { return 0;}}}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-7
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 ( length
@ -11,16 +12,16 @@ description: >
foo.prototype = new Array(1, 2, 3);
function foo() {}
var f = new foo();
var o = { toString: function () { return '0';}};
f.length = o;
// objects inherit the default valueOf method of the Object object;
// that simply returns the itself. Since the default valueOf() method
// does not return a primitive value, ES next tries to convert the object
// to a number by calling its toString() method and converting the
// resulting string to a number.
var i = Array.prototype.lastIndexOf.call({length: { toString: function () { return '0';}}}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-8
description: >
Array.prototype.lastIndexOf returns -1 if 'length' is 0 (length is
@ -22,6 +23,6 @@ description: >
// then converted back to n itself. If an array contains more than one element,
// or if its one element is not a number, the array converts to NaN.
var i = Array.prototype.lastIndexOf.call({length: [ ]}, 1);
assert.sameValue(i, -1, 'i');

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-4-9
description: Array.prototype.lastIndexOf - 'length' is a number of value 0.1
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-1
description: Array.prototype.lastIndexOf when fromIndex is string
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-10
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-11
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-12
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-13
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-14
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-15
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-16
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-17
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-18
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-19
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a string

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-2
description: Array.prototype.lastIndexOf when fromIndex is floating point number
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-20
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' which is a

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-21
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' which is an

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-22
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' which is an

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-23
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is an object

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-24
description: >
Array.prototype.lastIndexOf throws TypeError exception when value

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-25
description: >
Array.prototype.lastIndexOf use inherited valueOf method when

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-26
description: >
Array.prototype.lastIndexOf - side effects produced by step 2 are

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-27
description: >
Array.prototype.lastIndexOf - side effects produced by step 3 are

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-28
description: >
Array.prototype.lastIndexOf - side effects produced by step 1 are

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-29
description: >
Array.prototype.lastIndexOf - side effects produced by step 2 are

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-3
description: Array.prototype.lastIndexOf when fromIndex is boolean
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-30
description: >
Array.prototype.lastIndexOf - side effects produced by step 3 are

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-31
description: >
Array.prototype.lastIndexOf - 'fromIndex' is a positive

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-32
description: >
Array.prototype.lastIndexOf - 'fromIndex' is a negative

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-33
description: >
Array.prototype.lastIndexOf - match on the first element, a middle

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-4
description: Array.prototype.lastIndexOf when fromIndex is undefined
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-5
description: Array.prototype.lastIndexOf when fromIndex is null
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-6
description: Array.prototype.lastIndexOf when 'fromIndex' isn't passed
---*/

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-7
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

View File

@ -2,6 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
es5id: 15.4.4.15-5-8
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number

Some files were not shown because too many files have changed in this diff Show More