Fix: various lint fixes

This commit is contained in:
Rick Waldron 2018-01-10 17:29:48 -05:00
parent 40cb228633
commit 4afc330363
30 changed files with 37 additions and 31 deletions

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-variablestatements-in-catch-blocks
es6id: B3.5
es6id: B.3.5
description: Re-declaration of catch parameter
info: |
[...]

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Extensions to ClassEscape
info: |
ClassEscape[U] ::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Extended Pattern Characters (as distinct from Pattern Characters)
info: |
ExtendedPatternCharacter ::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Support for UnicodeIDContinue in IdentityEscape
info: |
IdentityEscape[U] ::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Legacy Octal Escape Sequence
info: |
CharacterEscape[U]::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Extensions to NonemptyClassRangesNoDash production
info: |
The production

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Extensions to NonemptyClassRanges production
info: |
The production NonemptyClassRanges :: ClassAtom-ClassAtom ClassRanges

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Quantifiable assertions `?=` ("followed by")
info: |
Term[U] ::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Quantifiable assertions `?!` ("not followed by")
info: |
Term[U] ::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-additional-syntax-string-literals
es6id: B1.2
es6id: B.1.2
description: String value for LegacyOctalEscapeSequence
info: |
EscapeSequence ::

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-variablestatements-in-catch-blocks
es6id: B3.5
es6id: B.3.5
description: Re-declaration of catch parameter (for-in statement)
info: |
It is a Syntax Error if any element of the BoundNames of CatchParameter

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-variablestatements-in-catch-blocks
es6id: B3.5
es6id: B.3.5
description: Re-declaration of catch parameter (for-in statement)
info: |
It is a Syntax Error if any element of the BoundNames of CatchParameter

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: sec-array.prototype.flatMap
esid: sec-array.prototype.flatMap
description: Array.prototype.flatMap.length value and descriptor.
info: >
17 ECMAScript Standard Built-in Objects

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: sec-array.prototype.flatmap
esid: sec-array.prototype.flatmap
description: Array.prototype.flatmap name value and descriptor.
info: >
17 ECMAScript Standard Built-in Objects

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: sec-array.prototype.flatten
esid: sec-array.prototype.flatten
description: Array.prototype.flatten.length value and descriptor.
info: >
17 ECMAScript Standard Built-in Objects

View File

@ -7,7 +7,6 @@ description: >
The method should exist on the ArrayIterator prototype, and it should be
writable and configurable, but not enumerable.
includes: [propertyHelper.js]
es6id: 17
features: [Symbol.iterator]
---*/

View File

@ -4,10 +4,9 @@
/*---
info: |
Symbol.species is retained on subclassing
es6id:
author: Sam Mikes
description: Symbol.species is retained on subclassing
includes:
includes:
- propertyHelper.js
features: [Symbol.species]
---*/

View File

@ -3,7 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 12.1.1
esid: pending
description: >
`await` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
negative:

View File

@ -3,7 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 12.1.1
esid: pending
description: >
`yield` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
negative:

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
A newline may not precede the `*` token in a `yield` expression.
negative:
phase: parse

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
AwaitExpressions are valid operands to yield expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
AwaitExpressions are valid operands to yield expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
AwaitExpressions are valid operands to yield expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
`yield` expressions may be used as the right-hand-side of other `yield`
expressions.
flags: [async]

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
`yield` is a valid statement within async generator function bodies.
flags: [async]
features: [async-iteration]

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
Newlines terminate `yield` expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,7 +3,8 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: sec-generator-function-definitionsdescription: >
esid: sec-generator-function-definitions
description: >
The right-hand side of a `yield *` expression may appear on a new line.
flags: [async]
features: [async-iteration]

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B1.4
es6id: B.1.4
description: Quantifiable assertions disallowed with `u` flag
info: |
The `u` flag precludes quantifiable assertions (even when Annex B is

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-additional-syntax-string-literals
es6id: B1.2
es6id: B.1.2
description: >
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
the presence of Annex B)

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-additional-syntax-string-literals
es6id: B1.2
es6id: B.1.2
description: >
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
the presence of Annex B)