Skip to content
Snippets Groups Projects
Unverified Commit f8f5a7a1 authored by Leo Balter's avatar Leo Balter
Browse files

Add missing generators flags

parent e38587ec
No related branches found
No related tags found
No related merge requests found
Showing
with 22 additions and 10 deletions
...@@ -8,6 +8,7 @@ es6id: B.1.4 ...@@ -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() {
......
...@@ -10,6 +10,7 @@ info: > ...@@ -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() {
......
...@@ -4,6 +4,7 @@ ...@@ -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;
......
...@@ -20,6 +20,7 @@ info: > ...@@ -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;
......
...@@ -6,6 +6,7 @@ author: Brian Terlson <brian.terlson@microsoft.com> ...@@ -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; };
......
...@@ -6,6 +6,7 @@ author: Brian Terlson <brian.terlson@microsoft.com> ...@@ -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;
......
...@@ -26,7 +26,7 @@ info: | ...@@ -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]
---*/ ---*/
......
...@@ -4,7 +4,7 @@ ...@@ -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
......
...@@ -4,7 +4,7 @@ ...@@ -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
......
...@@ -4,7 +4,7 @@ ...@@ -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: | ...@@ -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;
......
...@@ -4,7 +4,7 @@ ...@@ -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
......
...@@ -17,6 +17,7 @@ info: | ...@@ -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;
......
...@@ -18,6 +18,7 @@ info: | ...@@ -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';
......
...@@ -17,6 +17,7 @@ info: | ...@@ -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;
......
...@@ -18,6 +18,7 @@ info: | ...@@ -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';
......
...@@ -4,6 +4,7 @@ ...@@ -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() {
......
...@@ -26,7 +26,7 @@ info: | ...@@ -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]
---*/ ---*/
......
...@@ -12,6 +12,7 @@ info: > ...@@ -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.";
......
...@@ -4,7 +4,7 @@ ...@@ -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: | ...@@ -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;
......
...@@ -4,7 +4,7 @@ ...@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment