Merge pull request #1322 from leobalter/missing-gen

Missing generators flags
This commit is contained in:
Rick Waldron 2017-10-27 11:43:11 -04:00 committed by GitHub
commit 752ead469d
139 changed files with 166 additions and 52 deletions

View File

@ -11,6 +11,7 @@ info: |
Most ECMAScript functions make an arguments object available to their code. Depending upon the Most ECMAScript functions make an arguments object available to their code. Depending upon the
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
features: [generators]
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
Most ECMAScript functions make an arguments object available to their code. Depending upon the Most ECMAScript functions make an arguments object available to their code. Depending upon the
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
features: [generators]
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
Most ECMAScript functions make an arguments object available to their code. Depending upon the Most ECMAScript functions make an arguments object available to their code. Depending upon the
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
features: [generators]
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
Most ECMAScript functions make an arguments object available to their code. Depending upon the Most ECMAScript functions make an arguments object available to their code. Depending upon the
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
features: [generators]
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
Most ECMAScript functions make an arguments object available to their code. Depending upon the Most ECMAScript functions make an arguments object available to their code. Depending upon the
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
features: [generators]
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-gen- path: language/statements/class/fields-after-same-line-gen-
name: field definitions after a generator in the same line name: field definitions after a generator in the same line
features: [class-fields] features: [generators, class-fields]
esid: prod-FieldDefinition esid: prod-FieldDefinition
---*/ ---*/

View File

@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-static-gen- path: language/statements/class/fields-after-same-line-static-gen-
name: field definitions after a static generator in the same line name: field definitions after a static generator in the same line
features: [class-fields] features: [generators, class-fields]
esid: prod-FieldDefinition esid: prod-FieldDefinition
---*/ ---*/

View File

@ -4,7 +4,7 @@
/*--- /*---
path: language/expressions/class/fields-after-same-line-gen- path: language/expressions/class/fields-after-same-line-gen-
name: field definitions after a generator in the same line name: field definitions after a generator in the same line
features: [class-fields] features: [generators, class-fields]
esid: prod-FieldDefinition esid: prod-FieldDefinition
---*/ ---*/

View File

@ -4,7 +4,7 @@
/*--- /*---
path: language/expressions/class/fields-after-same-line-static-gen- path: language/expressions/class/fields-after-same-line-static-gen-
name: field definitions after a static generator in the same line name: field definitions after a static generator in the same line
features: [class-fields] features: [generators, class-fields]
esid: prod-FieldDefinition esid: prod-FieldDefinition
---*/ ---*/

View File

@ -10,6 +10,7 @@ info: |
AsyncMethod : AsyncMethod :
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
features: [async-iteration]
---*/ ---*/
({ ({

View File

@ -8,6 +8,7 @@ es6id: B.1.4
description: > description: >
"ControlLetter :: RUSSIAN ALPHABET is incorrect" "ControlLetter :: RUSSIAN ALPHABET is incorrect"
Instead, fall back to semantics to match literal "\\c" Instead, fall back to semantics to match literal "\\c"
features: [generators]
---*/ ---*/
function* invalidControls() { function* invalidControls() {

View File

@ -10,6 +10,7 @@ info: >
The production ClassAtomNoDash :: `\` evaluates as follows: The production ClassAtomNoDash :: `\` evaluates as follows:
1. Return the CharSet containing the single character `\`. 1. Return the CharSet containing the single character `\`.
features: [generators]
---*/ ---*/
function* invalidControls() { function* invalidControls() {

View File

@ -4,6 +4,7 @@
/*--- /*---
esid: sec-createdynamicfunction esid: sec-createdynamicfunction
description: Function.prototype.toString on a generator function created with the GeneratorFunction constructor description: Function.prototype.toString on a generator function created with the GeneratorFunction constructor
features: [generators]
---*/ ---*/
let GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor; let GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor;

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using multiple args (class declaration generator method) description: A trailing comma should not increase the arguments.length, using multiple args (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after null should not increase the arguments.length (class declaration generator method) description: A trailing comma after null should not increase the arguments.length (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using a single arg (class declaration generator method) description: A trailing comma should not increase the arguments.length, using a single arg (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after undefined should not increase the arguments.length (class declaration generator method) description: A trailing comma after undefined should not increase the arguments.length (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using multiple args (class declaration generator method) description: A trailing comma should not increase the arguments.length, using multiple args (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after null should not increase the arguments.length (class declaration generator method) description: A trailing comma after null should not increase the arguments.length (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using a single arg (class declaration generator method) description: A trailing comma should not increase the arguments.length, using a single arg (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after undefined should not increase the arguments.length (class declaration generator method) description: A trailing comma after undefined should not increase the arguments.length (class declaration generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using multiple args (class expression generator method) description: A trailing comma should not increase the arguments.length, using multiple args (class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after null should not increase the arguments.length (class expression generator method) description: A trailing comma after null should not increase the arguments.length (class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using a single arg (class expression generator method) description: A trailing comma should not increase the arguments.length, using a single arg (class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after undefined should not increase the arguments.length (class expression generator method) description: A trailing comma after undefined should not increase the arguments.length (class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using multiple args (static class expression generator method) description: A trailing comma should not increase the arguments.length, using multiple args (static class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after null should not increase the arguments.length (static class expression generator method) description: A trailing comma after null should not increase the arguments.length (static class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using a single arg (static class expression generator method) description: A trailing comma should not increase the arguments.length, using a single arg (static class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after undefined should not increase the arguments.length (static class expression generator method) description: A trailing comma after undefined should not increase the arguments.length (static class expression generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using multiple args (generator method) description: A trailing comma should not increase the arguments.length, using multiple args (generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after null should not increase the arguments.length (generator method) description: A trailing comma after null should not increase the arguments.length (generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma should not increase the arguments.length, using a single arg (generator method) description: A trailing comma should not increase the arguments.length, using a single arg (generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -4,6 +4,7 @@
/*--- /*---
description: A trailing comma after undefined should not increase the arguments.length (generator method) description: A trailing comma after undefined should not increase the arguments.length (generator method)
esid: sec-arguments-exotic-objects esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated] flags: [generated]
info: | info: |
9.4.4 Arguments Exotic Objects 9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object. or an arguments exotic object.
Trailing comma in the arguments list Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions 12.3 Left-Hand-Side Expressions

View File

@ -20,6 +20,7 @@ info: >
c. If fnDefinable is false, throw TypeError exception. c. If fnDefinable is false, throw TypeError exception.
... ...
flags: [noStrict] flags: [noStrict]
features: [generators]
---*/ ---*/
var error; var error;

View File

@ -6,6 +6,7 @@ author: Brian Terlson <brian.terlson@microsoft.com>
esid: pending esid: pending
description: > description: >
Await in a generator is an identifier Await in a generator is an identifier
features: [generators]
---*/ ---*/
function* foo(await) { yield await; }; function* foo(await) { yield await; };

View File

@ -6,6 +6,7 @@ author: Brian Terlson <brian.terlson@microsoft.com>
esid: pending esid: pending
description: > description: >
Await is allowed as an identifier in generator functions nested in async functions Await is allowed as an identifier in generator functions nested in async functions
features: [generators]
---*/ ---*/
var await; var await;

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Computed property names (field definitions after a generator in the same line) description: Computed property names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [computed-property-names, class-fields] features: [computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Computed property symbol names (field definitions after a generator in the same line) description: Computed property symbol names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [Symbol, computed-property-names, class-fields] features: [Symbol, computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Literal property names (field definitions after a generator in the same line) description: Literal property names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [class-fields] features: [generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Static Computed property names (field definitions after a generator in the same line) description: Static Computed property names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [computed-property-names, class-fields] features: [computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Static computed property symbol names (field definitions after a generator in the same line) description: Static computed property symbol names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [Symbol, computed-property-names, class-fields] features: [Symbol, computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Static literal property names (field definitions after a generator in the same line) description: Static literal property names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [class-fields] features: [generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: String literal names (field definitions after a generator in the same line) description: String literal names (field definitions after a generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [class-fields] features: [generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Computed property names (field definitions after a static generator in the same line) description: Computed property names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [computed-property-names, class-fields] features: [computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Computed property symbol names (field definitions after a static generator in the same line) description: Computed property symbol names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [Symbol, computed-property-names, class-fields] features: [Symbol, computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Literal property names (field definitions after a static generator in the same line) description: Literal property names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [class-fields] features: [generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Static Computed property names (field definitions after a static generator in the same line) description: Static Computed property names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [computed-property-names, class-fields] features: [computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Static computed property symbol names (field definitions after a static generator in the same line) description: Static computed property symbol names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [Symbol, computed-property-names, class-fields] features: [Symbol, computed-property-names, generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Static literal property names (field definitions after a static generator in the same line) description: Static literal property names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [class-fields] features: [generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -4,7 +4,7 @@
/*--- /*---
description: String literal names (field definitions after a static generator in the same line) description: String literal names (field definitions after a static generator in the same line)
esid: prod-FieldDefinition esid: prod-FieldDefinition
features: [class-fields] features: [generators, class-fields]
flags: [generated] flags: [generated]
includes: [propertyHelper.js] includes: [propertyHelper.js]
info: | info: |

View File

@ -26,7 +26,7 @@ info: |
2. If HasInitializer of FormalsList is true or HasInitializer of 2. If HasInitializer of FormalsList is true or HasInitializer of
FormalParameter is true, return count. FormalParameter is true, return count.
3. Return count+1. 3. Return count+1.
features: [default-parameters] features: [generators, default-parameters]
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (class expression method) description: Referencing the arguments object from a default parameter (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
es6id: 14.5.16 es6id: 14.5.16
features: [default-parameters] features: [generators, default-parameters]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (class expression method) description: Referencing the arguments object from a default parameter (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
es6id: 14.5.16 es6id: 14.5.16
features: [default-parameters] features: [generators, default-parameters]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (static class expression generator method) description: Referencing the arguments object from a default parameter (static class expression generator method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
es6id: 14.5.16 es6id: 14.5.16
features: [default-parameters] features: [generators, default-parameters]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail
@ -67,7 +67,7 @@ info: |
FormalsList using iteratorRecord and environment as the arguments. FormalsList using iteratorRecord and environment as the arguments.
2. ReturnIfAbrupt(status). 2. ReturnIfAbrupt(status).
3. Return the result of performing IteratorBindingInitialization for 3. Return the result of performing IteratorBindingInitialization for
FormalParameter using iteratorRecord and environment as the arguments. FormalParameter using iteratorRecord and environment as the arguments.
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (static class expression generator method) description: Referencing the arguments object from a default parameter (static class expression generator method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
es6id: 14.5.16 es6id: 14.5.16
features: [default-parameters] features: [generators, default-parameters]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -17,6 +17,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv. d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List. e. Let instantiatedVarNames be a new empty List.
[...] [...]
features: [generators]
---*/ ---*/
var probe; var probe;

View File

@ -18,6 +18,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv. d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List. e. Let instantiatedVarNames be a new empty List.
[...] [...]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -17,6 +17,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv. d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List. e. Let instantiatedVarNames be a new empty List.
[...] [...]
features: [generators]
---*/ ---*/
var probe; var probe;

View File

@ -18,6 +18,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv. d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List. e. Let instantiatedVarNames be a new empty List.
[...] [...]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -4,6 +4,7 @@
es6id: 12.2.5 es6id: 12.2.5
description: > description: >
super method calls in object literal concise generator super method calls in object literal concise generator
features: [generators]
---*/ ---*/
var proto = { var proto = {
method() { method() {

View File

@ -4,7 +4,7 @@
/*--- /*---
description: It is a Syntax Error if BoundNames of FormalParameters contains any duplicate elements. (async method) description: It is a Syntax Error if BoundNames of FormalParameters contains any duplicate elements. (async method)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [default-parameters] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated]
negative: negative:
phase: early phase: early
@ -15,6 +15,7 @@ info: |
AsyncMethod : AsyncMethod :
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
14.1.2 Static Semantics: Early Errors 14.1.2 Static Semantics: Early Errors
StrictFormalParameters : FormalParameters StrictFormalParameters : FormalParameters

View File

@ -4,7 +4,7 @@
/*--- /*---
description: RestParameter does not support an initializer (async method) description: RestParameter does not support an initializer (async method)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [default-parameters] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated]
negative: negative:
phase: early phase: early
@ -15,6 +15,7 @@ info: |
AsyncMethod : AsyncMethod :
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
14.1 Function Definitions 14.1 Function Definitions
Syntax Syntax

View File

@ -4,6 +4,7 @@
/*--- /*---
description: It's a syntax error if a FunctionRestParameter is followed by a trailing comma (async method) description: It's a syntax error if a FunctionRestParameter is followed by a trailing comma (async method)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [async-iteration]
flags: [generated] flags: [generated]
negative: negative:
phase: early phase: early
@ -14,6 +15,7 @@ info: |
AsyncMethod : AsyncMethod :
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
Trailing comma in the parameters list Trailing comma in the parameters list
14.1 Function Definitions 14.1 Function Definitions

View File

@ -26,7 +26,7 @@ info: |
2. If HasInitializer of FormalsList is true or HasInitializer of 2. If HasInitializer of FormalsList is true or HasInitializer of
FormalParameter is true, return count. FormalParameter is true, return count.
3. Return count+1. 3. Return count+1.
features: [default-parameters] features: [generators, default-parameters]
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/

View File

@ -12,6 +12,7 @@ info: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (generator method) description: Referencing the arguments object from a default parameter (generator method)
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
es6id: 14.4.13 es6id: 14.4.13
features: [default-parameters] features: [generators, default-parameters]
info: | info: |
GeneratorMethod : GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody } * PropertyName ( StrictFormalParameters ) { GeneratorBody }
@ -49,7 +49,7 @@ info: |
FormalsList using iteratorRecord and environment as the arguments. FormalsList using iteratorRecord and environment as the arguments.
2. ReturnIfAbrupt(status). 2. ReturnIfAbrupt(status).
3. Return the result of performing IteratorBindingInitialization for 3. Return the result of performing IteratorBindingInitialization for
FormalParameter using iteratorRecord and environment as the arguments. FormalParameter using iteratorRecord and environment as the arguments.
---*/ ---*/
var callCount = 0; var callCount = 0;

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (generator method) description: Referencing the arguments object from a default parameter (generator method)
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
es6id: 14.4.13 es6id: 14.4.13
features: [default-parameters] features: [generators, default-parameters]
info: | info: |
GeneratorMethod : GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody } * PropertyName ( StrictFormalParameters ) { GeneratorBody }

View File

@ -40,7 +40,7 @@ info: |
like-named lexical declaration. like-named lexical declaration.
iii. Let thisLex be thisLex's outer environment reference. iii. Let thisLex be thisLex's outer environment reference.
flags: [noStrict] flags: [noStrict]
features: [let] features: [generators, let]
---*/ ---*/
var o = { var o = {

View File

@ -15,6 +15,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv. 11. Set the LexicalEnvironment of currentContext to originalEnv.
[...] [...]
flags: [noStrict] flags: [noStrict]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -16,6 +16,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv. 11. Set the LexicalEnvironment of currentContext to originalEnv.
[...] [...]
flags: [noStrict] flags: [noStrict]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -21,6 +21,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv. 11. Set the LexicalEnvironment of currentContext to originalEnv.
[...] [...]
flags: [noStrict] flags: [noStrict]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -21,6 +21,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv. 11. Set the LexicalEnvironment of currentContext to originalEnv.
[...] [...]
flags: [noStrict] flags: [noStrict]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -17,6 +17,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv. d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List. e. Let instantiatedVarNames be a new empty List.
[...] [...]
features: [generators]
---*/ ---*/
var probe; var probe;

View File

@ -18,6 +18,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv. d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List. e. Let instantiatedVarNames be a new empty List.
[...] [...]
features: [generators]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -9,6 +9,7 @@ flags: [module]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -23,6 +23,7 @@ info: |
5. Perform ? InitializeBoundName("*default*", value, env). 5. Perform ? InitializeBoundName("*default*", value, env).
[...] [...]
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
export default (function* () { return 24601; }); export default (function* () { return 24601; });

View File

@ -23,6 +23,7 @@ info: |
5. Perform ? InitializeBoundName("*default*", value, env). 5. Perform ? InitializeBoundName("*default*", value, env).
[...] [...]
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
export default (function* gName() { return 88; }); export default (function* gName() { return 88; });

View File

@ -6,6 +6,7 @@ description: >
need to be terminated with a semicolon or newline need to be terminated with a semicolon or newline
esid: sec-moduleevaluation esid: sec-moduleevaluation
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
var count = 0; var count = 0;

View File

@ -6,6 +6,7 @@ description: >
be terminated with a semicolon or newline be terminated with a semicolon or newline
esid: sec-moduleevaluation esid: sec-moduleevaluation
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
var count = 0; var count = 0;

View File

@ -6,6 +6,7 @@ description: >
with a semicolon or newline with a semicolon or newline
esid: sec-moduleevaluation esid: sec-moduleevaluation
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
var count = 0; var count = 0;

View File

@ -38,6 +38,7 @@ info: |
and N2 as its target binding and record that the binding is initialized. and N2 as its target binding and record that the binding is initialized.
6. Return NormalCompletion(empty). 6. Return NormalCompletion(empty).
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
assert.sameValue( assert.sameValue(

View File

@ -43,6 +43,7 @@ info: |
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody } function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody } [+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
assert.sameValue(g().next().value, 23, 'generator function value is hoisted'); assert.sameValue(g().next().value, 23, 'generator function value is hoisted');

View File

@ -43,6 +43,7 @@ info: |
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody } function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody } [+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
assert.sameValue(g().next().value, 23, 'generator function value is hoisted'); assert.sameValue(g().next().value, 23, 'generator function value is hoisted');

View File

@ -40,6 +40,7 @@ info: |
and N2 as its target binding and record that the binding is initialized. and N2 as its target binding and record that the binding is initialized.
6. Return NormalCompletion(empty). 6. Return NormalCompletion(empty).
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
assert.sameValue( assert.sameValue(

View File

@ -14,6 +14,7 @@ info: |
1. Let env be a new Lexical Environment. 1. Let env be a new Lexical Environment.
[...] [...]
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
import './instn-uniq-env-rec-other_FIXTURE.js' import './instn-uniq-env-rec-other_FIXTURE.js'

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -7,6 +7,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -18,6 +18,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -19,6 +19,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [module] flags: [module]
features: [generators]
---*/ ---*/
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";

View File

@ -14,6 +14,7 @@ info: >
6. If hasNameProperty is false, then perform SetFunctionName(value, 6. If hasNameProperty is false, then perform SetFunctionName(value,
className). className).
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [generators]
---*/ ---*/
class A { class A {

Some files were not shown because too many files have changed in this diff Show More