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
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
features: [generators]
---*/
var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
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
or an arguments exotic object.
features: [generators]
---*/
var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
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
or an arguments exotic object.
features: [generators]
---*/
var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
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
or an arguments exotic object.
features: [generators]
---*/
var callCount = 0;

View File

@ -11,6 +11,7 @@ info: |
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
or an arguments exotic object.
features: [generators]
---*/
var callCount = 0;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,6 +4,7 @@
/*---
esid: sec-createdynamicfunction
description: Function.prototype.toString on a generator function created with the GeneratorFunction constructor
features: [generators]
---*/
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
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)
esid: sec-arguments-exotic-objects
features: [generators]
flags: [generated]
info: |
9.4.4 Arguments Exotic Objects
@ -12,6 +13,7 @@ info: |
characteristics of the function definition, its arguments object is either an ordinary object
or an arguments exotic object.
Trailing comma in the arguments list
12.3 Left-Hand-Side Expressions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
description: Referencing the arguments object from a default parameter (static class expression generator method)
esid: sec-class-definitions-runtime-semantics-evaluation
es6id: 14.5.16
features: [default-parameters]
features: [generators, default-parameters]
info: |
ClassExpression : class BindingIdentifieropt ClassTail
@ -67,7 +67,7 @@ info: |
FormalsList using iteratorRecord and environment as the arguments.
2. ReturnIfAbrupt(status).
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;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -12,6 +12,7 @@ info: >
negative:
phase: early
type: SyntaxError
features: [generators]
---*/
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)
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
es6id: 14.4.13
features: [default-parameters]
features: [generators, default-parameters]
info: |
GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody }
@ -49,7 +49,7 @@ info: |
FormalsList using iteratorRecord and environment as the arguments.
2. ReturnIfAbrupt(status).
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;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -43,6 +43,7 @@ info: |
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
flags: [module]
features: [generators]
---*/
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.
6. Return NormalCompletion(empty).
flags: [module]
features: [generators]
---*/
assert.sameValue(

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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