From d7b5715e6c47a84be6014c2e86cf3d4ba23bde84 Mon Sep 17 00:00:00 2001 From: Rick Waldron <waldron.rick@gmail.com> Date: Thu, 11 Jan 2018 10:21:08 -0500 Subject: [PATCH] Fix: various lint fixes --- test/built-ins/Object/is/symbol-object-is-same-value.js | 4 ++-- .../next/next-missing-internal-slots.js | 8 +++++++- .../prototype/formatToParts/default-parameter.js | 2 +- .../early-errors-expression-formals-contains-await.js | 2 +- .../early-errors-expression-formals-contains-yield.js | 2 +- .../early-errors-expression-label-name-await.js | 2 +- .../early-errors-expression-label-name-yield.js | 2 +- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/test/built-ins/Object/is/symbol-object-is-same-value.js b/test/built-ins/Object/is/symbol-object-is-same-value.js index b4d5a13843..4a58a0927c 100644 --- a/test/built-ins/Object/is/symbol-object-is-same-value.js +++ b/test/built-ins/Object/is/symbol-object-is-same-value.js @@ -1,10 +1,10 @@ // Copyright (C) 2013 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 7.2. +esid: sec-object.is description: > Object.is/SameValue: Symbol -features: [Symbol] +features: [Object.is,Symbol] ---*/ var symA = Symbol('66'); var symB = Symbol('66'); diff --git a/test/built-ins/StringIteratorPrototype/next/next-missing-internal-slots.js b/test/built-ins/StringIteratorPrototype/next/next-missing-internal-slots.js index 4eb96687be..41c0703cf3 100644 --- a/test/built-ins/StringIteratorPrototype/next/next-missing-internal-slots.js +++ b/test/built-ins/StringIteratorPrototype/next/next-missing-internal-slots.js @@ -1,10 +1,16 @@ // Copyright (C) 2014 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 21.1.5.2.1 S 3 +esid: sec-properties-of-string-iterator-instances description: > If the `this` value does not have all of the internal slots of an String Iterator Instance (21.1.5.3), throw a `TypeError` exception. +info: | + ... + If O does not have all of the internal slots of a String Iterator Instance (21.1.5.3), + throw a TypeError exception. + ... + features: [Symbol.iterator] ---*/ diff --git a/test/intl402/NumberFormat/prototype/formatToParts/default-parameter.js b/test/intl402/NumberFormat/prototype/formatToParts/default-parameter.js index 39c682ca77..347efe03d0 100644 --- a/test/intl402/NumberFormat/prototype/formatToParts/default-parameter.js +++ b/test/intl402/NumberFormat/prototype/formatToParts/default-parameter.js @@ -1,7 +1,7 @@ // Copyright (C) 2017 Josh Wolfe. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -esid: #sec-intl.numberformat.prototype.formattoparts +esid: sec-intl.numberformat.prototype.formattoparts description: Intl.NumberFormat.prototype.formatToParts called with no parameters info: | Intl.NumberFormat.prototype.formatToParts ([ value ]) diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js index 1c748595fc..fe4081d260 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js @@ -3,7 +3,7 @@ /*--- author: Caitlin Potter <caitp@igalia.com> -esid: 12.1 +esid: sec-identifiers description: > `await` is a reserved keyword within async generator function bodies and may not be used as the binding identifier of a parameter. diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js index 1f1986dbcf..d914897c64 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js @@ -3,7 +3,7 @@ /*--- author: Caitlin Potter <caitp@igalia.com> -esid: 12.1 +esid: sec-identifiers description: > `yield` is a reserved keyword within async generator function bodies and may not be used as the binding identifier of a parameter. diff --git a/test/language/expressions/async-generator/early-errors-expression-label-name-await.js b/test/language/expressions/async-generator/early-errors-expression-label-name-await.js index 3036367d08..d93b02a709 100644 --- a/test/language/expressions/async-generator/early-errors-expression-label-name-await.js +++ b/test/language/expressions/async-generator/early-errors-expression-label-name-await.js @@ -3,7 +3,7 @@ /*--- author: Caitlin Potter <caitp@igalia.com> -esid: 12.1.1 +esid: sec-identifiers description: > `await` is a reserved keyword within async generator function bodies and may not be used as a label. diff --git a/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js b/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js index bf32b78466..b8f990e6f0 100644 --- a/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js +++ b/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js @@ -3,7 +3,7 @@ /*--- author: Caitlin Potter <caitp@igalia.com> -esid: 12.1.1 +esid: sec-identifiers description: > `yield` is a reserved keyword within async generator function bodies and may not be used as a label. -- GitLab