Fix: various lint fixes

This commit is contained in:
Rick Waldron 2018-01-11 10:21:08 -05:00
parent 7d9cb55345
commit d7b5715e6c
7 changed files with 14 additions and 8 deletions

View File

@ -1,10 +1,10 @@
// Copyright (C) 2013 the V8 project authors. All rights reserved. // Copyright (C) 2013 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
es6id: 7.2. esid: sec-object.is
description: > description: >
Object.is/SameValue: Symbol Object.is/SameValue: Symbol
features: [Symbol] features: [Object.is,Symbol]
---*/ ---*/
var symA = Symbol('66'); var symA = Symbol('66');
var symB = Symbol('66'); var symB = Symbol('66');

View File

@ -1,10 +1,16 @@
// Copyright (C) 2014 the V8 project authors. All rights reserved. // Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file. // 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: > description: >
If the `this` value does not have all of the internal slots of an String 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. 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] features: [Symbol.iterator]
---*/ ---*/

View File

@ -1,7 +1,7 @@
// Copyright (C) 2017 Josh Wolfe. All rights reserved. // Copyright (C) 2017 Josh Wolfe. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file. // 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 description: Intl.NumberFormat.prototype.formatToParts called with no parameters
info: | info: |
Intl.NumberFormat.prototype.formatToParts ([ value ]) Intl.NumberFormat.prototype.formatToParts ([ value ])

View File

@ -3,7 +3,7 @@
/*--- /*---
author: Caitlin Potter <caitp@igalia.com> author: Caitlin Potter <caitp@igalia.com>
esid: 12.1 esid: sec-identifiers
description: > description: >
`await` is a reserved keyword within async generator function bodies and may `await` is a reserved keyword within async generator function bodies and may
not be used as the binding identifier of a parameter. not be used as the binding identifier of a parameter.

View File

@ -3,7 +3,7 @@
/*--- /*---
author: Caitlin Potter <caitp@igalia.com> author: Caitlin Potter <caitp@igalia.com>
esid: 12.1 esid: sec-identifiers
description: > description: >
`yield` is a reserved keyword within async generator function bodies and may `yield` is a reserved keyword within async generator function bodies and may
not be used as the binding identifier of a parameter. not be used as the binding identifier of a parameter.

View File

@ -3,7 +3,7 @@
/*--- /*---
author: Caitlin Potter <caitp@igalia.com> author: Caitlin Potter <caitp@igalia.com>
esid: 12.1.1 esid: sec-identifiers
description: > description: >
`await` is a reserved keyword within async generator function bodies and may `await` is a reserved keyword within async generator function bodies and may
not be used as a label. not be used as a label.

View File

@ -3,7 +3,7 @@
/*--- /*---
author: Caitlin Potter <caitp@igalia.com> author: Caitlin Potter <caitp@igalia.com>
esid: 12.1.1 esid: sec-identifiers
description: > description: >
`yield` is a reserved keyword within async generator function bodies and may `yield` is a reserved keyword within async generator function bodies and may
not be used as a label. not be used as a label.