mirror of
https://github.com/tc39/test262.git
synced 2025-07-30 17:34:51 +02:00
Merge pull request #1322 from leobalter/missing-gen
Missing generators flags
This commit is contained in:
commit
752ead469d
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
---*/
|
||||
|
||||
|
@ -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
|
||||
---*/
|
||||
|
||||
|
@ -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
|
||||
---*/
|
||||
|
||||
|
@ -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
|
||||
---*/
|
||||
|
||||
|
@ -10,6 +10,7 @@ info: |
|
||||
|
||||
AsyncMethod :
|
||||
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
||||
({
|
||||
|
@ -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() {
|
||||
|
@ -10,6 +10,7 @@ info: >
|
||||
|
||||
The production ClassAtomNoDash :: `\` evaluates as follows:
|
||||
1. Return the CharSet containing the single character `\`.
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
function* invalidControls() {
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -20,6 +20,7 @@ info: >
|
||||
c. If fnDefinable is false, throw TypeError exception.
|
||||
...
|
||||
flags: [noStrict]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var error;
|
||||
|
@ -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; };
|
||||
|
@ -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;
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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: |
|
||||
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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';
|
||||
|
@ -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;
|
||||
|
@ -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';
|
||||
|
@ -4,6 +4,7 @@
|
||||
es6id: 12.2.5
|
||||
description: >
|
||||
super method calls in object literal concise generator
|
||||
features: [generators]
|
||||
---*/
|
||||
var proto = {
|
||||
method() {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -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;
|
||||
|
@ -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 }
|
||||
|
@ -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 = {
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||
[...]
|
||||
flags: [noStrict]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var x = 'outside';
|
||||
|
@ -16,6 +16,7 @@ info: |
|
||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||
[...]
|
||||
flags: [noStrict]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var x = 'outside';
|
||||
|
@ -21,6 +21,7 @@ info: |
|
||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||
[...]
|
||||
flags: [noStrict]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var x = 'outside';
|
||||
|
@ -21,6 +21,7 @@ info: |
|
||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||
[...]
|
||||
flags: [noStrict]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var x = 'outside';
|
||||
|
@ -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;
|
||||
|
@ -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';
|
||||
|
@ -9,6 +9,7 @@ flags: [module]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -23,6 +23,7 @@ info: |
|
||||
5. Perform ? InitializeBoundName("*default*", value, env).
|
||||
[...]
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
export default (function* () { return 24601; });
|
||||
|
@ -23,6 +23,7 @@ info: |
|
||||
5. Perform ? InitializeBoundName("*default*", value, env).
|
||||
[...]
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
export default (function* gName() { return 88; });
|
||||
|
@ -6,6 +6,7 @@ description: >
|
||||
need to be terminated with a semicolon or newline
|
||||
esid: sec-moduleevaluation
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var count = 0;
|
||||
|
@ -6,6 +6,7 @@ description: >
|
||||
be terminated with a semicolon or newline
|
||||
esid: sec-moduleevaluation
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var count = 0;
|
||||
|
@ -6,6 +6,7 @@ description: >
|
||||
with a semicolon or newline
|
||||
esid: sec-moduleevaluation
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
var count = 0;
|
||||
|
@ -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(
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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(
|
||||
|
@ -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'
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -7,6 +7,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -18,6 +18,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -19,6 +19,7 @@ negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user