diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-1.js index fbffd031cc..1eb9ef72e0 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-1 description: Array.prototype.indexOf applied to undefined throws a TypeError ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-10.js index dbbcefece9..1a55202188 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-10 description: Array.prototype.indexOf applied to the Math object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-11.js index 541896c6f6..bcb3b21ead 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-11 description: Array.prototype.indexOf applied to Date object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-12.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-12.js index e3ca3790b6..c416b6e1b9 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-12.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-12 description: Array.prototype.indexOf applied to RegExp object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-13.js index f04b1089d6..c1ca787316 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-13.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-13 description: Array.prototype.indexOf applied to the JSON object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-14.js index 1157291e5d..6f116d5cee 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-14.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-14.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-14 description: Array.prototype.indexOf applied to Error object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-15.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-15.js index 4b28849c52..7a6c9b7ca4 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-15.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-15.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-15 description: Array.prototype.indexOf applied to Arguments object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-2.js index c1685fcb01..5584d5f68f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-2 description: Array.prototype.indexOf applied to null throws a TypeError ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-3.js index adac07916d..510a693ed4 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-3 description: Array.prototype.indexOf applied to boolean primitive ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-4.js index c9d7e1ab9d..844e34af49 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-4 description: Array.prototype.indexOf applied to Boolean Object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js index 9d0a3f6fa8..ccca657760 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-5 description: Array.prototype.indexOf applied to number primitive ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-6.js index c1a21c1a36..c6416ebe4e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-6 description: Array.prototype.indexOf applied to Number object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-7.js index d48adccb49..08dadf026e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-7 description: Array.prototype.indexOf applied to string primitive ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-8.js index 9e365b78ae..46575fb68d 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-8 description: Array.prototype.indexOf applied to String object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-9.js index c3f0b9aa6b..76d8e87c0b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-1-9 description: Array.prototype.indexOf applied to Function object ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js index f3cea59e84..c0d6c537ac 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-10-1 description: > Array.prototype.indexOf returns -1 for elements not present in @@ -10,7 +11,7 @@ description: > var a = new Array(); a[100] = 1; - a[99999] = ""; + a[99999] = ""; a[10] = new Object(); a[5555] = 5.5; a[123456] = "str"; diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-2.js index ba0db2af36..124043c97f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-10-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-10-2 description: > Array.prototype.indexOf returns -1 if 'length' is 0 and does not @@ -12,9 +13,9 @@ description: > var f = {length: 0}; Object.defineProperty(f,"0",{get: function () {accessed = true; return 1;}}); - + var i = Array.prototype.indexOf.call(f,1); - + assert.sameValue(i, -1, 'i'); assert.sameValue(accessed, false, 'accessed'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-1.js index 45b2ad893d..61dd7f2946 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-1 description: > Array.prototype.indexOf - 'length' is own data property on an diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-10.js index 7de29bc268..f4c6f0b83a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-10 description: Array.prototype.indexOf - 'length' is inherited accessor property ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-11.js index db7f2dde93..bb89914e0b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-11 description: > Array.prototype.indexOf - 'length' is own accessor property diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-12.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-12.js index c38c41d40a..ff9ac06df0 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-12.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-12 description: > Array.prototype.indexOf - 'length' is own accessor property diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-13.js index e5ce782fd1..6aa17ff1ea 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-13.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-13 description: > Array.prototype.indexOf - 'length' is inherited accessor property diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-14.js index 5d8470f4ee..6ffd345dbe 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-14.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-14.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-14 description: Array.prototype.indexOf - 'length' is undefined property ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-17.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-17.js index 41db1ed20a..2df7594957 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-17.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-17.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-17 description: > Array.prototype.indexOf applied to Arguments object which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-18.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-18.js index 0e0c49fc48..e48cb33de8 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-18.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-18.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-18 description: > Array.prototype.indexOf applied to String object, which implements diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-19.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-19.js index fdd7043ec6..09bb09dd3a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-19.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-19.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-19 description: > Array.prototype.indexOf applied to Function object which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-2.js index fadb62c9ac..d1fb4b7bb6 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-2 description: Array.prototype.indexOf - 'length' is own data property on an Array ---*/ @@ -9,7 +10,7 @@ description: Array.prototype.indexOf - 'length' is own data property on an Array var targetObj = {}; Array.prototype[2] = targetObj; - + assert.sameValue([0, targetObj].indexOf(targetObj), 1, '[0, targetObj].indexOf(targetObj)'); assert.sameValue([0, 1].indexOf(targetObj), -1, '[0, 1].indexOf(targetObj)'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-3.js index 541996a5d2..c0c72be3b0 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-3 description: > Array.prototype.indexOf - 'length' is own data property that diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js index 6614dfd67b..5a4f6f2386 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-4 description: > Array.prototype.indexOf - 'length' is own data property that diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-5.js index 40b169ae14..8c5523964a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-5 description: > Array.prototype.indexOf - 'length' is own data property that @@ -20,7 +21,7 @@ description: > Con.prototype = proto; var child = new Con(); - + Object.defineProperty(child, "length", { value: 2, configurable: true diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-6.js index e06a19566c..39788558ae 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-6 description: Array.prototype.indexOf - 'length' is an inherited data property ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-7.js index 67b3bf1ad4..975a8673ab 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-7 description: Array.prototype.indexOf - 'length' is own accessor property ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-8.js index 94ab647feb..92bf58f7ab 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-8 description: > Array.prototype.indexOf - 'length' is own accessor property that diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-9.js index ce988c07e8..5ec60e0581 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-2-9 description: > Array.prototype.indexOf - 'length' is own accessor property that diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-1.js index 41fd56d6df..528bb1f489 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-1 description: Array.prototype.indexOf - value of 'length' is undefined ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-10.js index 06053b3aff..2d422228ca 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-10 description: > Array.prototype.indexOf - value of 'length' is number primitive diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-11.js index e90d3d9285..dbccc238b9 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-11 description: > Array.prototype.indexOf - 'length' is a string containing a diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-12.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-12.js index 643b4d4e9e..c147d93553 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-12.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-12 description: > Array.prototype.indexOf - 'length' is a string containing a diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-13.js index 8d644bbdfe..d2ff4af50f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-13.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-13 description: > Array.prototype.indexOf - 'length' is a string containing a diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-14.js index f5b7886b08..f37712cf31 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-14.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-14.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-14 description: > Array.prototype.indexOf - 'length' is a string containing diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-15.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-15.js index e186bf5c1b..e35a97c2cd 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-15.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-15.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-15 description: > Array.prototype.indexOf - 'length' is a string containing an diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-16.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-16.js index f4baaa83d5..adc6ff83a4 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-16.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-16.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-16 description: > Array.prototype.indexOf - 'length' is a string containing a hex diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-17.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-17.js index d78900dfdc..3f5d9a1735 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-17.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-17.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-17 description: > Array.prototype.indexOf - 'length' is a string containing a number diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-18.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-18.js index 8f46145d9e..71c052c5bf 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-18.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-18.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-18 description: > Array.prototype.indexOf - value of 'length' is a string that can't diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-19.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-19.js index a69172fd7e..17a3c545ac 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-19.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-19.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-19 description: > Array.prototype.indexOf - value of 'length' is an Object which has diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-2.js index 03b9d15e98..8cfa825b89 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-2 description: > Array.prototype.indexOf return -1 when 'length' is a boolean diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-20.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-20.js index 50507e59e9..3479154f06 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-20.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-20.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-20 description: > Array.prototype.indexOf - value of 'length' is an Object which has diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-21.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-21.js index 968de40989..a9ad676ad9 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-21.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-21.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-21 description: > Array.prototype.indexOf - 'length' is an object that has an own diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-22.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-22.js index 8c37bec86c..5cb92837cb 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-22.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-22.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-22 description: > Array.prototype.indexOf throws TypeError exception when 'length' diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-23.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-23.js index 04c758010c..5b30d00cf6 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-23.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-23.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-23 description: > Array.prototype.indexOf uses inherited valueOf method when diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js index 68d426e31a..539f8d669d 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-24 description: > Array.prototype.indexOf - value of 'length' is a positive diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-25.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-25.js index a2477b8e96..4e275b17fb 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-25.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-25.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-25 description: > Array.prototype.indexOf - value of 'length' is a negative diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-28.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-28.js index 7b16b7668d..62702eed76 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-28.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-28.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-28 description: > Array.prototype.indexOf - value of 'length' is boundary value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-29.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-29.js index 473b9cfc71..23bb38ae78 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-29.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-29.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-29 description: > Array.prototype.indexOf - value of 'length' is boundary value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-3.js index a0c8b62348..83c239e170 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-3 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-4.js index 255b93b6b9..e2dc4190fa 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-4 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-5.js index 0e97d0a83c..6fccac8750 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-5 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-6.js index 64d6c02837..50cc7c262c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-6 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-7.js index 8f98d39e19..1ff3602c0b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-7 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-8.js index d63ab41c6c..c7873e9ee7 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-8 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-9.js index dfc8372b3e..faf4a227c4 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-3-9 description: > Array.prototype.indexOf - value of 'length' is a number (value is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-1.js index b48fcc17b6..5b6a62eb99 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-1 description: Array.prototype.indexOf returns -1 if 'length' is 0 (empty array) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-10.js index f3a850eb82..6af3e10a85 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-10 description: Array.prototype.indexOf - 'length' is a number of value -6e-1 ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-11.js index 0cdf6c64e2..3410cb85c8 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-11 description: Array.prototype.indexOf - 'length' is an empty string ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-2.js index d1aa31e7ea..485bcf04e6 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-2 description: > Array.prototype.indexOf returns -1 if 'length' is 0 ( length @@ -9,6 +10,6 @@ description: > ---*/ var i = Array.prototype.indexOf.call({length: null}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-3.js index 455e8690c3..535a46c8e1 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-3 description: > Array.prototype.indexOf returns -1 if 'length' is 0 (length @@ -9,6 +10,6 @@ description: > ---*/ var i = Array.prototype.indexOf.call({length: false}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-4.js index a507da531f..c614ca9385 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-4 description: > Array.prototype.indexOf returns -1 if 'length' is 0 (generic @@ -9,6 +10,6 @@ description: > ---*/ var i = Array.prototype.lastIndexOf.call({length: 0}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-5.js index a96cde499a..5951225794 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-5 description: > Array.prototype.indexOf returns -1 if 'length' is 0 ( length @@ -9,6 +10,6 @@ description: > ---*/ var i = Array.prototype.indexOf.call({length: '0'}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-6.js index 79a8acb8db..365da0c371 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-6 description: > Array.prototype.indexOf returns -1 if 'length' is 0 (subclassed @@ -9,6 +10,6 @@ description: > ---*/ var i = Array.prototype.indexOf.call({length: { valueOf: function () { return 0;}}}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-7.js index 299eae0204..ed4cf98947 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-7 description: > Array.prototype.indexOf returns -1 if 'length' is 0 ( length is @@ -14,6 +15,6 @@ description: > // to a number by calling its toString() method and converting the // resulting string to a number. var i = Array.prototype.indexOf.call({length: { toString: function () { return '0';}}}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-8.js index b066833f1f..04ad4c7fb6 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-8 description: > Array.prototype.indexOf returns -1 if 'length' is 0 (length is an @@ -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.indexOf.call({length: [ ]}, 1); - + assert.sameValue(i, -1, 'i'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-9.js index f418fbd851..e90ce2e4c9 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-4-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-4-9 description: Array.prototype.indexOf - 'length' is a number of value 0.1 ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js index 4159d5b916..146456dbab 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-1 description: Array.prototype.indexOf when fromIndex is string ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-10.js index 6bcf1d59b8..7c006a5d04 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-10 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-11.js index 27d0d463bc..e8dccbd1d9 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-11 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-12.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-12.js index cbd2f0b275..dbdc234eb5 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-12.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-12 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-13.js index 08f805073f..de88a919e1 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-13.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-13 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-14.js index ad4a1a61f7..fe74c5ed05 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-14.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-14.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-14 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-15.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-15.js index 6ea2d1a7c7..cc5d7a6bfa 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-15.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-15.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-15 description: > Array.prototype.indexOf - value of 'fromIndex' is a string diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-16.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-16.js index e838aa1710..68e8cbe5fe 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-16.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-16.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-16 description: > Array.prototype.indexOf - value of 'fromIndex' is a string diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js index 324d58d544..4614f26489 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-17 description: > Array.prototype.indexOf - value of 'fromIndex' is a string diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-18.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-18.js index 0c993ccf15..7729f74b5f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-18.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-18.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-18 description: > Array.prototype.indexOf - value of 'fromIndex' is a string diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-19.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-19.js index ce5382cd40..ef2936fb7b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-19.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-19.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-19 description: > Array.prototype.indexOf - value of 'fromIndex' is a string diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-2.js index 40c7dac876..6fbcc5ced6 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-2 description: Array.prototype.indexOf when fromIndex is floating point number ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-20.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-20.js index c59e64aee0..0471343e27 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-20.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-20.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-20 description: > Array.prototype.indexOf - value of 'fromIndex' which is a string diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-21.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-21.js index bc7e3e16b4..05fbacd4df 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-21.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-21.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-21 description: > Array.prototype.indexOf - value of 'fromIndex' is an Object, which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-22.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-22.js index 156f138bde..21bb6b03a7 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-22.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-22.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-22 description: > Array.prototype.indexOf - value of 'fromIndex' is an Object, which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-23.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-23.js index 220a597ccd..64f186fc81 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-23.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-23.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-23 description: > Array.prototype.indexOf - value of 'fromIndex' is an object that diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-24.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-24.js index a414dc1223..3f83428a20 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-24.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-24.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-24 description: > Array.prototype.indexOf throws TypeError exception when value of diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-25.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-25.js index 3d67e8fa86..a8139b7512 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-25.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-25.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-25 description: > Array.prototype.indexOf uses inherited valueOf method when value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-26.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-26.js index de49b58374..6c66928cee 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-26.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-26.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-26 description: > Array.prototype.indexOf - side effects produced by step 2 are diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-27.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-27.js index e09ca58572..0207afac1e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-27.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-27.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-27 description: > Array.prototype.indexOf - side effects produced by step 3 are diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-28.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-28.js index 3a9538711c..9e83835459 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-28.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-28.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-28 description: > Array.prototype.indexOf - side effects produced by step 1 are diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-29.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-29.js index 6c4c3d7691..30381433b8 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-29.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-29.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-29 description: > Array.prototype.indexOf - side effects produced by step 2 are @@ -9,7 +10,7 @@ description: > ---*/ var stepFiveOccurs = false; - + var obj = {}; Object.defineProperty(obj, "length", { get: function () { diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-3.js index 07634100d2..9030d5314c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-3 description: Array.prototype.indexOf when fromIndex is boolean ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-30.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-30.js index 7fdd12722e..9a229e976c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-30.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-30.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-30 description: > Array.prototype.indexOf - side effects produced by step 3 are diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-31.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-31.js index f954ebb6dc..9a7f1d3ff5 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-31.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-31.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-31 description: > Array.prototype.indexOf - 'fromIndex' is a positive non-integer, diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-32.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-32.js index f85ec3fa4d..df4812b786 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-32.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-32.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-32 description: > Array.prototype.indexOf - 'fromIndex' is a negative non-integer, diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-33.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-33.js index 791bc1b6be..73a0572e51 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-33.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-33.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-33 description: > Array.prototype.indexOf match on the first element, a middle diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-4.js index 53a914ea26..3611b17992 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-4 description: Array.prototype.indexOf returns 0 if fromIndex is 'undefined' ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-5.js index c3bdaaa833..9056a5fe94 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-5 description: Array.prototype.indexOf returns 0 if fromIndex is null ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-6.js index 4d88a35910..69610b347a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-6 description: Array.prototype.indexOf - 'fromIndex' isn't passed ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-7.js index 0be678f979..2d30b4df2a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-7 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-8.js index a703e616f8..94623fc12f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-8 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-9.js index 44d8c0887b..9ced9d3864 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-5-9 description: > Array.prototype.indexOf - value of 'fromIndex' is a number (value diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-6-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-6-1.js index 2067ccf0de..f2da76943c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-6-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-6-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-6-1 description: > Array.prototype.indexOf returns -1 if fromIndex is greater than diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-1.js index 77db068802..21f8596e56 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-7-1 description: > Array.prototype.indexOf returns -1 when 'fromIndex' is length of diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-2.js index e2d4af59ff..1f30d78162 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-7-2 description: > Array.prototype.indexOf returns correct index when 'fromIndex' is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js index f6ffe860f7..a69458ec08 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-7-3 description: > Array.prototype.indexOf returns -1 when 'fromIndex' and 'length' diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-4.js index 9b9986a414..262a3d46c9 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-7-4 description: Array.prototype.indexOf returns -1 when 'fromIndex' is 1 ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-5.js index dff5a445d6..b0199185dc 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-7-5 description: Array.prototype.indexOf returns correct index when 'fromIndex' is 1 ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-1.js index 2f4e08177e..57d4f191db 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-1.js @@ -2,12 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-8-1 description: Array.prototype.indexOf with negative fromIndex ---*/ var a = new Array(1,2,3); - + assert.sameValue(a.indexOf(2,-1), -1, 'a.indexOf(2,-1)'); assert.sameValue(a.indexOf(2,-2), 1, 'a.indexOf(2,-2)'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js index 02441ef35a..137ff46384 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-8-2 description: > Array.prototype.indexOf returns correct index when 'fromIndex' is diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-3.js index 8c004c8010..961110cbf0 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-8-3 description: > Array.prototype.indexOf returns -1 when abs('fromIndex') is length diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-4.js index 33b2459bd3..38f9a20e84 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-8-4 description: > Array.prototype.indexOf returns -1 when abs('fromIndex') is length diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-1.js index fd75573cff..94125fa817 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-1 description: Array.prototype.indexOf must return correct index (boolean) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-10.js index ec885dadd9..11eda10db3 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-10.js @@ -5,6 +5,7 @@ info: > note that prior to the finally ES5 draft SameValue was used for comparisions and hence NaNs could be found using indexOf * +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-10 description: Array.prototype.indexOf must return correct index (NaN) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js index 8e0e324180..cf1aac5412 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-11 description: > Array.prototype.indexOf - the length of iteration isn't changed by diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-2.js index a6f57a9a12..fcce013d2c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-2 description: Array.prototype.indexOf must return correct index (Number) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-3.js index 7fbb3f76c1..3c83a98d95 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-3 description: Array.prototype.indexOf must return correct index(string) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-4.js index 79c1bfbdc5..d0b3a3a3ef 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-4 description: Array.prototype.indexOf must return correct index(undefined) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-5.js index 770a1e61ae..3a31b1477a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-5 description: Array.prototype.indexOf must return correct index (Object) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-6.js index 2723ca3b5e..adb3280e8a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-6 description: Array.prototype.indexOf must return correct index(null) ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-7.js index 7f732b5673..33bf64933b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-7.js @@ -2,11 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-7 description: Array.prototype.indexOf must return correct index (self reference) ---*/ - var a = new Array(0,1,2,3); + var a = new Array(0,1,2,3); a[2] = a; assert.sameValue(a.indexOf(a), 2, 'a.indexOf(a)'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-8.js index 719cbe594c..86889e4372 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-8.js @@ -2,12 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-8 description: Array.prototype.indexOf must return correct index (Array) ---*/ - var b = new Array("0,1"); - var a = new Array(0,b,"0,1",3); + var b = new Array("0,1"); + var a = new Array(0,b,"0,1",3); assert.sameValue(a.indexOf(b.toString()), 2, 'a.indexOf(b.toString())'); assert.sameValue(a.indexOf("0,1"), 2, 'a.indexOf("0,1")'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-9.js index 276bedd896..82fc8113c1 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-9.js @@ -2,11 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-9 description: Array.prototype.indexOf must return correct index (Sparse Array) ---*/ - var a = new Array(0,1); + var a = new Array(0,1); a[4294967294] = 2; // 2^32-2 - is max array element a[4294967295] = 3; // 2^32-1 added as non-array element property a[4294967296] = 4; // 2^32 added as non-array element property diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-1.js index f39e91fcd6..0d17a2be4b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-1 description: > Array.prototype.indexOf - added properties in step 2 are visible diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-10.js index 0613b8931f..ff6b0a9c8e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-10 description: > Array.prototype.indexOf - properties can be added to prototype diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-11.js index eb7d14b7b1..6e9587d5a8 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-11 description: > Array.prototype.indexOf - deleting own property causes index diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-12.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-12.js index b0cae059a9..172dd11336 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-12.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-12 description: > Array.prototype.indexOf - deleting own property causes index diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js index 1d0e8b9e30..2390e6e7f5 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-13 description: > Array.prototype.indexOf - deleting property of prototype causes diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js index 441d6548ea..81cbe7b988 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-14.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-14 description: > Array.prototype.indexOf - deleting property of prototype causes diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-15.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-15.js index c0cdb29c74..c7c60d7c43 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-15.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-15.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-15 description: > Array.prototype.indexOf - deleting own property with prototype @@ -10,7 +11,7 @@ description: > ---*/ var arr = { 0: 0, 1: 111, 2: 2, length: 10 }; - + Object.defineProperty(arr, "0", { get: function () { delete arr[1]; diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-16.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-16.js index b0b90e1104..707207440e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-16.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-16.js @@ -2,14 +2,15 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-16 description: > Array.prototype.indexOf - deleting own property with prototype property causes prototype index property to be visited on an Array ---*/ - var arr = [0, 111, 2]; - + var arr = [0, 111, 2]; + Object.defineProperty(arr, "0", { get: function () { delete arr[1]; diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-17.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-17.js index 1451a026ba..74a6eddb42 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-17.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-17.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-17 description: > Array.prototype.indexOf - decreasing length of array causes index diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-18.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-18.js index dba9ebe128..f1e2fa4f4c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-18.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-18.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-18 description: > Array.prototype.indexOf - decreasing length of array with diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-19.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-19.js index bc5ed33aae..b30be5fdab 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-19.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-19.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-19 description: > Array.prototype.indexOf - decreasing length of array does not @@ -25,6 +26,6 @@ flags: [noStrict] }, configurable: true }); - + assert.sameValue(arr.indexOf("unconfigurable"), 2, 'arr.indexOf("unconfigurable")'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-2.js index 4fd6fed9b3..a0e8b82956 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-2 description: > Array.prototype.indexOf - added properties in step 5 are visible @@ -17,6 +18,6 @@ description: > return 3; } }; - + assert.sameValue(Array.prototype.indexOf.call(arr, targetObj, fromIndex), 4, 'Array.prototype.indexOf.call(arr, targetObj, fromIndex)'); diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-3.js index 942ea64942..5ac6827ee6 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-3 description: > Array.prototype.indexOf - added properties in step 5 are visible diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-4.js index 66145acd61..8a5e756c56 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-4 description: > Array.prototype.indexOf - deleted properties in step 2 are visible diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-5.js index f213b2245a..255c327a3f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-5 description: > Array.prototype.indexOf - deleted properties in step 5 are visible diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-6.js index 545e69ff3a..e78f717c3c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-6 description: > Array.prototype.indexOf - deleted properties in step 5 are visible diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-7.js index d55c36de69..58e38614c5 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-7 description: > Array.prototype.indexOf - properties added into own object after diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-8.js index a4bff7b94c..aa43ed573b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-8 description: > Array.prototype.indexOf - properties added into own object after diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-9.js index 946f145166..e36af343da 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-a-9 description: > Array.prototype.indexOf - properties can be added to prototype diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-1.js index cd0be7aa50..2303fcc8ab 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-1 description: Array.prototype.indexOf - non-existent property wouldn't be called ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-1.js index e857ce6dcb..dc8bba8671 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-1 description: > Array.prototype.indexOf - element to be retrieved is own data diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-10.js index 00f007383e..8cf69e48dd 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-10 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-11.js index 91f888fe3e..0d1ca8e702 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-11 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-12.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-12.js index d57984392d..de13d9f38a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-12.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-12 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-13.js index 89e660c3a1..27be95dc60 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-13.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-13 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-14.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-14.js index f7fa2ff9b5..265667e71a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-14.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-14.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-14 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-15.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-15.js index 172a32b6b5..44b2da7afd 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-15.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-15.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-15 description: > Array.prototype.indexOf - element to be retrieved is inherited diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-16.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-16.js index 7aab5413dc..754db8aad4 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-16.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-16.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-16 description: > Array.prototype.indexOf - element to be retrieved is inherited diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-17.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-17.js index eb16f6e608..551e2a30e7 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-17.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-17.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-17 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-18.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-18.js index 653a7ac03a..4701e3fd8d 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-18.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-18.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-18 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js index 895c3a2dcc..b640d89655 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-19 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-2.js index c37adf4dbb..26a02628bb 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-2 description: > Array.prototype.indexOf - element to be retrieved is own data diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-20.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-20.js index 8183d3539b..56508fe508 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-20.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-20.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-20 description: > Array.prototype.indexOf - element to be retrieved is own accessor diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-21.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-21.js index da3b000c59..24144df082 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-21.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-21.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-21 description: > Array.prototype.indexOf - element to be retrieved is inherited diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-22.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-22.js index 765ea49344..922d2e7ce1 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-22.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-22.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-22 description: > Array.prototype.indexOf - element to be retrieved is inherited diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-25.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-25.js index 686925477d..b2f3bc442a 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-25.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-25.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-25 description: > Array.prototype.indexOf applied to Arguments object which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-26.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-26.js index aa9c8e3f5d..330ea1966e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-26.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-26.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-26 description: > Array.prototype.indexOf applied to Arguments object which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-27.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-27.js index b304db2a73..5935f22bae 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-27.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-27.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-27 description: > Array.prototype.indexOf applied to Arguments object which diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-28.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-28.js index 1c2415e1eb..dc9119d68e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-28.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-28.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-28 description: > Array.prototype.indexOf - side-effects are visible in subsequent diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-29.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-29.js index b5ef9b0e51..1c941586ec 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-29.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-29.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-29 description: > Array.prototype.indexOf - side-effects are visible in subsequent diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-3.js index b25f32a114..1df5d9eb96 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-3 description: > Array.prototype.indexOf - element to be retrieved is own data diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-30.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-30.js index 5d6195afbb..440a314480 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-30.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-30.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-30 description: > Array.prototype.indexOf - terminates iteration on unhandled diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-31.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-31.js index caf9f52867..9cae879bc5 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-31.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-31.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-31 description: > Array.prototype.indexOf - terminates iteration on unhandled diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-4.js index 050883cf54..171ced904f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-4 description: > Array.prototype.indexOf - element to be retrieved is own data diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-5.js index 865f0bcc78..24a4076913 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-5 description: > Array.prototype.indexOf - element to be retrieved is own data diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-6.js index 44fc076460..22e410e7d1 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-6 description: > Array.prototype.indexOf - element to be retrieved is own data diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-7.js index 6c2ca2f4c9..9382abf00c 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-7 description: > Array.prototype.indexOf - element to be retrieved is inherited diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-8.js index 7278aa4e62..52e280f1c4 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-8 description: > Array.prototype.indexOf - element to be retrieved is inherited diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-9.js index 6b1a70b5c2..ed295d2011 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-i-9 description: > Array.prototype.indexOf - element to be retrieved is own accessor @@ -22,7 +23,7 @@ description: > }, configurable: true }); - + Object.defineProperty(arr, "2", { get: function () { return 2; diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-1.js index 9551e31c79..8c2c6d709b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-1 description: > Array.prototype.indexOf - type of array element is different from diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-10.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-10.js index c5e6b04d16..3846c1fcbb 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-10.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-10 description: > Array.prototype.indexOf - both array element and search element diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-11.js index a47ce01397..8aad97866b 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-11 description: > Array.prototype.indexOf - both array element and search element diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-2.js index 77e3af80c3..d80bde76e5 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-2 description: > Array.prototype.indexOf - both type of array element and type of diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-3.js index 6941589c7c..fbd618433f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-3 description: > Array.prototype.indexOf - both type of array element and type of diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-4.js index 0cbb8224b5..3ca94e5f76 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-4 description: Array.prototype.indexOf - search element is NaN ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-5.js index e31dfff982..99c2256673 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-5 description: Array.prototype.indexOf - search element is -NaN ---*/ diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-6.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-6.js index 75eda5e675..74a20610ea 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-6.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-6 description: > Array.prototype.indexOf - array element is +0 and search element diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-7.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-7.js index c3acc3530f..d3ae010c81 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-7.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-7 description: > Array.prototype.indexOf - array element is -0 and search element diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-8.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-8.js index 2cedb40c24..b9374a8ba0 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-8.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-8 description: > Array.prototype.indexOf - both array element and search element diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-9.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-9.js index e5499b6638..59bf5ac987 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-9.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-ii-9 description: > Array.prototype.indexOf - both array element and search element diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-1.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-1.js index 1e9bc0d3cf..bcd0b4b4bb 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-1.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-iii-1 description: > Array.prototype.indexOf - returns index of last one when more than diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-2.js index 18042eb42f..a593c8ce48 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-iii-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.prototype.indexof es5id: 15.4.4.14-9-b-iii-2 description: > Array.prototype.indexOf - returns without visiting subsequent diff --git a/test/built-ins/Array/prototype/indexOf/name.js b/test/built-ins/Array/prototype/indexOf/name.js index a909f74662..a68041806d 100644 --- a/test/built-ins/Array/prototype/indexOf/name.js +++ b/test/built-ins/Array/prototype/indexOf/name.js @@ -2,7 +2,8 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 22.1.3.11 +esid: sec-array.prototype.indexof +es6id: 22.1.3.12 description: > Array.prototype.indexOf.name is "indexOf". info: >