From 2f4d0be4b868e58fb125a088f4ab20d575adedd4 Mon Sep 17 00:00:00 2001 From: deathbearbrown Date: Wed, 28 Jun 2017 11:57:55 -0700 Subject: [PATCH] Add esid to Array/isArray front matter --- test/built-ins/Array/isArray/15.4.3.2-0-1.js | 3 ++- test/built-ins/Array/isArray/15.4.3.2-0-2.js | 1 + test/built-ins/Array/isArray/15.4.3.2-0-3.js | 5 +++-- test/built-ins/Array/isArray/15.4.3.2-0-4.js | 15 ++++++++------- test/built-ins/Array/isArray/15.4.3.2-0-5.js | 3 ++- test/built-ins/Array/isArray/15.4.3.2-0-6.js | 5 +++-- test/built-ins/Array/isArray/15.4.3.2-0-7.js | 7 ++++--- test/built-ins/Array/isArray/15.4.3.2-1-1.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-10.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-11.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-12.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-13.js | 9 +++++---- test/built-ins/Array/isArray/15.4.3.2-1-15.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-2.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-3.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-4.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-5.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-6.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-7.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-8.js | 1 + test/built-ins/Array/isArray/15.4.3.2-1-9.js | 1 + test/built-ins/Array/isArray/15.4.3.2-2-1.js | 9 +++++---- test/built-ins/Array/isArray/15.4.3.2-2-2.js | 1 + test/built-ins/Array/isArray/15.4.3.2-2-3.js | 1 + test/built-ins/Array/isArray/name.js | 1 + 25 files changed, 49 insertions(+), 24 deletions(-) diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-1.js b/test/built-ins/Array/isArray/15.4.3.2-0-1.js index a7153724ac..15d6b000b2 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-1.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-1.js @@ -2,10 +2,11 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-1 description: Array.isArray must exist as a function ---*/ - var f = Array.isArray; +var f = Array.isArray; assert.sameValue(typeof(f), "function", 'typeof(f)'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-2.js b/test/built-ins/Array/isArray/15.4.3.2-0-2.js index ba95a7ad4a..9b18fb0a5e 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-2.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-2 description: Array.isArray must exist as a function taking 1 parameter ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-3.js b/test/built-ins/Array/isArray/15.4.3.2-0-3.js index 4b8141dc7f..299aad0fe8 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-3.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-3.js @@ -2,11 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-3 description: Array.isArray return true if its argument is an Array ---*/ - var a = []; - var b = Array.isArray(a); +var a = []; +var b = Array.isArray(a); assert.sameValue(b, true, 'b'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-4.js b/test/built-ins/Array/isArray/15.4.3.2-0-4.js index 652430d8ad..f422cc1442 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-4.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-4.js @@ -2,17 +2,18 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-4 description: Array.isArray return false if its argument is not an Array ---*/ - var b_num = Array.isArray(42); - var b_undef = Array.isArray(undefined); - var b_bool = Array.isArray(true); - var b_str = Array.isArray("abc"); - var b_obj = Array.isArray({}); - var b_null = Array.isArray(null); - +var b_num = Array.isArray(42); +var b_undef = Array.isArray(undefined); +var b_bool = Array.isArray(true); +var b_str = Array.isArray("abc"); +var b_obj = Array.isArray({}); +var b_null = Array.isArray(null); + assert.sameValue(b_num, false, 'b_num'); assert.sameValue(b_undef, false, 'b_undef'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-5.js b/test/built-ins/Array/isArray/15.4.3.2-0-5.js index 70cd14fc48..f6bc9d8235 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-5.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-5.js @@ -2,12 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-5 description: > Array.isArray return true if its argument is an Array (Array.prototype) ---*/ - var b = Array.isArray(Array.prototype); +var b = Array.isArray(Array.prototype); assert.sameValue(b, true, 'b'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-6.js b/test/built-ins/Array/isArray/15.4.3.2-0-6.js index 0a3144adc2..1d28be623a 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-6.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-6.js @@ -2,11 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-6 description: Array.isArray return true if its argument is an Array (new Array()) ---*/ - var a = new Array(10); - var b = Array.isArray(a); +var a = new Array(10); +var b = Array.isArray(a); assert.sameValue(b, true, 'b'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-0-7.js b/test/built-ins/Array/isArray/15.4.3.2-0-7.js index 9292b2de71..87d7f6165f 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-0-7.js +++ b/test/built-ins/Array/isArray/15.4.3.2-0-7.js @@ -2,12 +2,13 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-0-7 description: Array.isArray returns false if its argument is not an Array ---*/ - var o = new Object(); - o[12] = 13; - var b = Array.isArray(o); +var o = new Object(); +o[12] = 13; +var b = Array.isArray(o); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-1.js b/test/built-ins/Array/isArray/15.4.3.2-1-1.js index 2374fd7efd..3c90df63dc 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-1.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-1.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-1 description: Array.isArray applied to boolean primitive ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-10.js b/test/built-ins/Array/isArray/15.4.3.2-1-10.js index 395c3b4dc1..f7f05f3594 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-10.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-10.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-10 description: Array.isArray applied to RegExp object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-11.js b/test/built-ins/Array/isArray/15.4.3.2-1-11.js index 6a83171f9c..98b3d9286d 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-11.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-11.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-11 description: Array.isArray applied to the JSON object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-12.js b/test/built-ins/Array/isArray/15.4.3.2-1-12.js index 2b1aaa798e..338db61e79 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-12.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-12.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-12 description: Array.isArray applied to Error object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-13.js b/test/built-ins/Array/isArray/15.4.3.2-1-13.js index 8d233f114c..9a55d9a0c6 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-13.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-13.js @@ -2,14 +2,15 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-13 description: Array.isArray applied to Arguments object ---*/ - var arg; +var arg; - (function fun() { - arg = arguments; - }(1, 2, 3)); +(function fun() { + arg = arguments; +}(1, 2, 3)); assert.sameValue(Array.isArray(arg), false, 'Array.isArray(arg)'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-15.js b/test/built-ins/Array/isArray/15.4.3.2-1-15.js index cb1f0e5c5c..858894f958 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-15.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-15.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-15 description: Array.isArray applied to the global object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-2.js b/test/built-ins/Array/isArray/15.4.3.2-1-2.js index 94624b5205..8c621cb621 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-2.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-2 description: Array.isArray applied to Boolean Object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-3.js b/test/built-ins/Array/isArray/15.4.3.2-1-3.js index d6a2bf581d..615d130ab5 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-3.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-3 description: Array.isArray applied to number primitive ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-4.js b/test/built-ins/Array/isArray/15.4.3.2-1-4.js index dec4307f37..32f925457b 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-4.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-4.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-4 description: Array.isArray applied to Number object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-5.js b/test/built-ins/Array/isArray/15.4.3.2-1-5.js index 39777f333d..3d5f57d8d4 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-5.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-5.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-5 description: Array.isArray applied to string primitive ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-6.js b/test/built-ins/Array/isArray/15.4.3.2-1-6.js index 82b6b6aa1e..8c7c190d97 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-6.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-6.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-6 description: Array.isArray applied to String object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-7.js b/test/built-ins/Array/isArray/15.4.3.2-1-7.js index 6bf491fffa..6f807595c9 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-7.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-7.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-7 description: Array.isArray applied to Function object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-8.js b/test/built-ins/Array/isArray/15.4.3.2-1-8.js index ecb60080ea..c95344a415 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-8.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-8.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-8 description: Array.isArray applied to the Math object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-1-9.js b/test/built-ins/Array/isArray/15.4.3.2-1-9.js index 31ac3fbf42..177435f060 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-1-9.js +++ b/test/built-ins/Array/isArray/15.4.3.2-1-9.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-1-9 description: Array.isArray applied to Date object ---*/ diff --git a/test/built-ins/Array/isArray/15.4.3.2-2-1.js b/test/built-ins/Array/isArray/15.4.3.2-2-1.js index 55ea40277a..302f9cbe81 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-2-1.js +++ b/test/built-ins/Array/isArray/15.4.3.2-2-1.js @@ -2,14 +2,15 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-2-1 description: Array.isArray applied to an object with an array as the prototype ---*/ - var proto = []; - var Con = function () { }; - Con.prototype = proto; +var proto = []; +var Con = function () { }; +Con.prototype = proto; - var child = new Con(); +var child = new Con(); assert.sameValue(Array.isArray(child), false, 'Array.isArray(child)'); diff --git a/test/built-ins/Array/isArray/15.4.3.2-2-2.js b/test/built-ins/Array/isArray/15.4.3.2-2-2.js index 1c37dee8fb..84a6e929ea 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-2-2.js +++ b/test/built-ins/Array/isArray/15.4.3.2-2-2.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-2-2 description: > Array.isArray applied to an object with Array.prototype as the diff --git a/test/built-ins/Array/isArray/15.4.3.2-2-3.js b/test/built-ins/Array/isArray/15.4.3.2-2-3.js index 34459c2dc1..626e837206 100644 --- a/test/built-ins/Array/isArray/15.4.3.2-2-3.js +++ b/test/built-ins/Array/isArray/15.4.3.2-2-3.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es5id: 15.4.3.2-2-3 description: > Array.isArray applied to an Array-like object with length and some diff --git a/test/built-ins/Array/isArray/name.js b/test/built-ins/Array/isArray/name.js index bf4464f1d7..378984ee9e 100644 --- a/test/built-ins/Array/isArray/name.js +++ b/test/built-ins/Array/isArray/name.js @@ -2,6 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-array.isarray es6id: 22.1.2.2 description: > Array.isArray.name is "isArray".