diff --git a/test/annexB/built-ins/RegExp/RegExp-control-escape-russian-letter.js b/test/annexB/built-ins/RegExp/RegExp-control-escape-russian-letter.js index 7f0a145d5bec6e4f7e3c9e6cb48e81509fd603c1..691094d7ffa16e5b40fa4be8adb92650f8718bfd 100644 --- a/test/annexB/built-ins/RegExp/RegExp-control-escape-russian-letter.js +++ b/test/annexB/built-ins/RegExp/RegExp-control-escape-russian-letter.js @@ -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() { diff --git a/test/annexB/built-ins/RegExp/RegExp-invalid-control-escape-character-class.js b/test/annexB/built-ins/RegExp/RegExp-invalid-control-escape-character-class.js index 5ef9ccc8700e02ba6a0cffac5e5fa93981606afa..d208a5fd186095fba0fac3b05174bff4284114b2 100644 --- a/test/annexB/built-ins/RegExp/RegExp-invalid-control-escape-character-class.js +++ b/test/annexB/built-ins/RegExp/RegExp-invalid-control-escape-character-class.js @@ -10,6 +10,7 @@ info: > The production ClassAtomNoDash :: `\` evaluates as follows: 1. Return the CharSet containing the single character `\`. +features: [generators] ---*/ function* invalidControls() { diff --git a/test/built-ins/Function/prototype/toString/GeneratorFunction.js b/test/built-ins/Function/prototype/toString/GeneratorFunction.js index 1ceaaed9f33bd9b550feefcf8945586525656f0d..523f1cd2a7be6a876e4aa7e212d6e20a177d6595 100644 --- a/test/built-ins/Function/prototype/toString/GeneratorFunction.js +++ b/test/built-ins/Function/prototype/toString/GeneratorFunction.js @@ -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; diff --git a/test/language/eval-code/direct/non-definable-global-generator.js b/test/language/eval-code/direct/non-definable-global-generator.js index 519b965d4e0dee302dd2ef5685e94549dba9bcc6..06f374f2d7fb585bbed5185c02761eedf1be280d 100644 --- a/test/language/eval-code/direct/non-definable-global-generator.js +++ b/test/language/eval-code/direct/non-definable-global-generator.js @@ -20,6 +20,7 @@ info: > c. If fnDefinable is false, throw TypeError exception. ... flags: [noStrict] +features: [generators] ---*/ var error; diff --git a/test/language/expressions/await/await-in-generator.js b/test/language/expressions/await/await-in-generator.js index 4fc9398cd959106d3040fcc984bfa852186ab9a7..5ccf59dc660e4fb55431a92e5f8f73b2a8e0f2a1 100644 --- a/test/language/expressions/await/await-in-generator.js +++ b/test/language/expressions/await/await-in-generator.js @@ -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; }; diff --git a/test/language/expressions/await/await-in-nested-generator.js b/test/language/expressions/await/await-in-nested-generator.js index 4e9268745f0cb655487bcf11486f83e5727ac4d3..b1164a55b83b2ce3c30fe5ae5beed8ea7c815254 100644 --- a/test/language/expressions/await/await-in-nested-generator.js +++ b/test/language/expressions/await/await-in-nested-generator.js @@ -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; diff --git a/test/language/expressions/class/gen-method-length-dflt.js b/test/language/expressions/class/gen-method-length-dflt.js index 0de44b844c48218065a46671dd4a83dfa1a4f912..bcc7506814b90ce43aab6aa003497c35fd61ab04 100644 --- a/test/language/expressions/class/gen-method-length-dflt.js +++ b/test/language/expressions/class/gen-method-length-dflt.js @@ -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] ---*/ diff --git a/test/language/expressions/class/params-dflt-gen-meth-args-unmapped.js b/test/language/expressions/class/params-dflt-gen-meth-args-unmapped.js index d34478a773f4536902b322636a4857ac1009f90a..f256b99771f83f06efe5f3fb9e1d472526ee3d5a 100644 --- a/test/language/expressions/class/params-dflt-gen-meth-args-unmapped.js +++ b/test/language/expressions/class/params-dflt-gen-meth-args-unmapped.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 diff --git a/test/language/expressions/class/params-dflt-gen-meth-ref-arguments.js b/test/language/expressions/class/params-dflt-gen-meth-ref-arguments.js index 880a9466a3e067c6578d9cb36b76bf80ba087ccf..70253b05383f2bce982a02f3a7174ec832167f4e 100644 --- a/test/language/expressions/class/params-dflt-gen-meth-ref-arguments.js +++ b/test/language/expressions/class/params-dflt-gen-meth-ref-arguments.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 diff --git a/test/language/expressions/class/params-dflt-gen-meth-static-args-unmapped.js b/test/language/expressions/class/params-dflt-gen-meth-static-args-unmapped.js index 023b97c759a9256674212cdf7e7789f7cb65cc0a..e52a63ffd07624bb96302f55770decc4d6288256 100644 --- a/test/language/expressions/class/params-dflt-gen-meth-static-args-unmapped.js +++ b/test/language/expressions/class/params-dflt-gen-meth-static-args-unmapped.js @@ -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; diff --git a/test/language/expressions/class/params-dflt-gen-meth-static-ref-arguments.js b/test/language/expressions/class/params-dflt-gen-meth-static-ref-arguments.js index 4cc5ed0b3bf07932aea24d57107680b2e6ac56b0..20cf79c50eead5571404decbedad3fe862af8ead 100644 --- a/test/language/expressions/class/params-dflt-gen-meth-static-ref-arguments.js +++ b/test/language/expressions/class/params-dflt-gen-meth-static-ref-arguments.js @@ -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 diff --git a/test/language/expressions/class/scope-gen-meth-paramsbody-var-close.js b/test/language/expressions/class/scope-gen-meth-paramsbody-var-close.js index d0f4280f8f81b7ebbe24eb065b72fc1368031190..6ea5231333eca1c203218401d7279220080e196b 100644 --- a/test/language/expressions/class/scope-gen-meth-paramsbody-var-close.js +++ b/test/language/expressions/class/scope-gen-meth-paramsbody-var-close.js @@ -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; diff --git a/test/language/expressions/class/scope-gen-meth-paramsbody-var-open.js b/test/language/expressions/class/scope-gen-meth-paramsbody-var-open.js index 1b09a356e984105a65790e09042d3beae7e32e81..725024184bc70d777786a223a6da68195bd87170 100644 --- a/test/language/expressions/class/scope-gen-meth-paramsbody-var-open.js +++ b/test/language/expressions/class/scope-gen-meth-paramsbody-var-open.js @@ -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'; diff --git a/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-close.js b/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-close.js index 26ef25edc823ddc76b9cf2c10c67bacf547db1fb..1f7b340f81091d8d3acef9949ddd5aa98ab22711 100644 --- a/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-close.js +++ b/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-close.js @@ -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; diff --git a/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-open.js b/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-open.js index 17167c3ce4c06ce139a00b58792f6cd3d3b9c617..151bd3893100acf838f961e45746f9266412b12b 100644 --- a/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-open.js +++ b/test/language/expressions/class/scope-static-gen-meth-paramsbody-var-open.js @@ -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'; diff --git a/test/language/expressions/object/concise-generator.js b/test/language/expressions/object/concise-generator.js index 955fddf18e82da0094960d54948c5b7d29ae8a4c..27457cf0ad7e0fd000eabe85a175c0c8a2c3db22 100644 --- a/test/language/expressions/object/concise-generator.js +++ b/test/language/expressions/object/concise-generator.js @@ -4,6 +4,7 @@ es6id: 12.2.5 description: > super method calls in object literal concise generator +features: [generators] ---*/ var proto = { method() { diff --git a/test/language/expressions/object/method-definition/generator-length-dflt.js b/test/language/expressions/object/method-definition/generator-length-dflt.js index 97cfe97971473a27155e9fa4fac8f97e7435f8af..ab1e872aedfe25b7832350f4dfbca137070d7590 100644 --- a/test/language/expressions/object/method-definition/generator-length-dflt.js +++ b/test/language/expressions/object/method-definition/generator-length-dflt.js @@ -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] ---*/ diff --git a/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js b/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js index 40890c001dc5e9268195579c9121c9e049cd442a..acb19321874c322e01a34036aaef718928e473fa 100644 --- a/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js +++ b/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js @@ -12,6 +12,7 @@ info: > negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/expressions/object/method-definition/params-dflt-gen-meth-args-unmapped.js b/test/language/expressions/object/method-definition/params-dflt-gen-meth-args-unmapped.js index 2705cc977011a97b6e46a1a7da0d55af81c557ac..9ab34ecba53041452457f0ea74710155527dc75a 100644 --- a/test/language/expressions/object/method-definition/params-dflt-gen-meth-args-unmapped.js +++ b/test/language/expressions/object/method-definition/params-dflt-gen-meth-args-unmapped.js @@ -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; diff --git a/test/language/expressions/object/method-definition/params-dflt-gen-meth-ref-arguments.js b/test/language/expressions/object/method-definition/params-dflt-gen-meth-ref-arguments.js index acd31981c835017e139c3090b5834581acf0dce6..d416c1862457aec68c01558849bfeab1f86233a8 100644 --- a/test/language/expressions/object/method-definition/params-dflt-gen-meth-ref-arguments.js +++ b/test/language/expressions/object/method-definition/params-dflt-gen-meth-ref-arguments.js @@ -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 } diff --git a/test/language/expressions/object/scope-gen-meth-body-lex-distinct.js b/test/language/expressions/object/scope-gen-meth-body-lex-distinct.js index 6ddc563132e02ce20b6e078341adc9a1ce3c15a9..14e4d9566aface8fe59a4a0b8051874d26fd8ce1 100644 --- a/test/language/expressions/object/scope-gen-meth-body-lex-distinct.js +++ b/test/language/expressions/object/scope-gen-meth-body-lex-distinct.js @@ -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 = { diff --git a/test/language/expressions/object/scope-gen-meth-param-elem-var-close.js b/test/language/expressions/object/scope-gen-meth-param-elem-var-close.js index 3785b8fd1cf1ec347aa377e83482485300fc24c5..a9ea498651d1c9dd397c98444f191b1c426f9211 100644 --- a/test/language/expressions/object/scope-gen-meth-param-elem-var-close.js +++ b/test/language/expressions/object/scope-gen-meth-param-elem-var-close.js @@ -15,6 +15,7 @@ info: | 11. Set the LexicalEnvironment of currentContext to originalEnv. [...] flags: [noStrict] +features: [generators] ---*/ var x = 'outside'; diff --git a/test/language/expressions/object/scope-gen-meth-param-elem-var-open.js b/test/language/expressions/object/scope-gen-meth-param-elem-var-open.js index 8ff970f766255d68bbbf484446faaaaff4409777..bb9b6f17abf2aa54ec52a630fd91bcf0619d9282 100644 --- a/test/language/expressions/object/scope-gen-meth-param-elem-var-open.js +++ b/test/language/expressions/object/scope-gen-meth-param-elem-var-open.js @@ -16,6 +16,7 @@ info: | 11. Set the LexicalEnvironment of currentContext to originalEnv. [...] flags: [noStrict] +features: [generators] ---*/ var x = 'outside'; diff --git a/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-close.js b/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-close.js index b0d6ab104a60cde0d752c6a5f1f1601f96cc87a3..d8a605884925e407d34a31b3aaca40f755f4e5f3 100644 --- a/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-close.js +++ b/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-close.js @@ -21,6 +21,7 @@ info: | 11. Set the LexicalEnvironment of currentContext to originalEnv. [...] flags: [noStrict] +features: [generators] ---*/ var x = 'outside'; diff --git a/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-open.js b/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-open.js index dee21daa4ce35af76991dcd7bd57c6040147e7ba..43121e8859cad0f99b959d4e7b580c51a4884ff4 100644 --- a/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-open.js +++ b/test/language/expressions/object/scope-gen-meth-param-rest-elem-var-open.js @@ -21,6 +21,7 @@ info: | 11. Set the LexicalEnvironment of currentContext to originalEnv. [...] flags: [noStrict] +features: [generators] ---*/ var x = 'outside'; diff --git a/test/language/expressions/object/scope-gen-meth-paramsbody-var-close.js b/test/language/expressions/object/scope-gen-meth-paramsbody-var-close.js index 612ef84fdf61073b0a0a130c47e3a4458692d616..17f2cbe1194315294e9ff48b7ae0f4069268c232 100644 --- a/test/language/expressions/object/scope-gen-meth-paramsbody-var-close.js +++ b/test/language/expressions/object/scope-gen-meth-paramsbody-var-close.js @@ -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; diff --git a/test/language/expressions/object/scope-gen-meth-paramsbody-var-open.js b/test/language/expressions/object/scope-gen-meth-paramsbody-var-open.js index f3a1e4f9b07d46f98d72832fa50a30bb92f2447f..18f19481c5770fc7b6c2be989dbf935dc5d988c6 100644 --- a/test/language/expressions/object/scope-gen-meth-paramsbody-var-open.js +++ b/test/language/expressions/object/scope-gen-meth-paramsbody-var-open.js @@ -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'; diff --git a/test/language/module-code/early-dup-export-decl.js b/test/language/module-code/early-dup-export-decl.js index 5830b52c9419359b54c9f255a9c4fcdd27f9e7ac..a938e6b57662ea870d2cbaf845e6c9aa6beaab9c 100644 --- a/test/language/module-code/early-dup-export-decl.js +++ b/test/language/module-code/early-dup-export-decl.js @@ -9,6 +9,7 @@ flags: [module] negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/eval-export-dflt-expr-gen-anon.js b/test/language/module-code/eval-export-dflt-expr-gen-anon.js index 5b458012e26b4a9370ade6e59f405c8a6b1fb067..670a0524c4f092e8e4cfb51c07601e4235e4c0a0 100644 --- a/test/language/module-code/eval-export-dflt-expr-gen-anon.js +++ b/test/language/module-code/eval-export-dflt-expr-gen-anon.js @@ -23,6 +23,7 @@ info: | 5. Perform ? InitializeBoundName("*default*", value, env). [...] flags: [module] +features: [generators] ---*/ export default (function* () { return 24601; }); diff --git a/test/language/module-code/eval-export-dflt-expr-gen-named.js b/test/language/module-code/eval-export-dflt-expr-gen-named.js index 16fb4bc9104e3381191cb97b8ddb48df62427ba2..388c10e25032e497d1bddb32568d5f4bc4a94bbc 100644 --- a/test/language/module-code/eval-export-dflt-expr-gen-named.js +++ b/test/language/module-code/eval-export-dflt-expr-gen-named.js @@ -23,6 +23,7 @@ info: | 5. Perform ? InitializeBoundName("*default*", value, env). [...] flags: [module] +features: [generators] ---*/ export default (function* gName() { return 88; }); diff --git a/test/language/module-code/eval-export-dflt-gen-anon-semi.js b/test/language/module-code/eval-export-dflt-gen-anon-semi.js index f5fb576bf99447a92efb5999f9465fe8d2a66801..ffa883ac52e57000dc9c9c99ca276d6966dc42a5 100644 --- a/test/language/module-code/eval-export-dflt-gen-anon-semi.js +++ b/test/language/module-code/eval-export-dflt-gen-anon-semi.js @@ -6,6 +6,7 @@ description: > need to be terminated with a semicolon or newline esid: sec-moduleevaluation flags: [module] +features: [generators] ---*/ var count = 0; diff --git a/test/language/module-code/eval-export-dflt-gen-named-semi.js b/test/language/module-code/eval-export-dflt-gen-named-semi.js index deff1436ed0100c09882e33b7ad0ed9378e8ea90..be0dfc7c19bfe4bdfa38786045fd9de3d20a4789 100644 --- a/test/language/module-code/eval-export-dflt-gen-named-semi.js +++ b/test/language/module-code/eval-export-dflt-gen-named-semi.js @@ -6,6 +6,7 @@ description: > be terminated with a semicolon or newline esid: sec-moduleevaluation flags: [module] +features: [generators] ---*/ var count = 0; diff --git a/test/language/module-code/eval-export-gen-semi.js b/test/language/module-code/eval-export-gen-semi.js index 0152b14412fd40f39bab16b1a6115b0b9dcd3c41..83a52d3f7e5425de5385bcba6e175745b53df535 100644 --- a/test/language/module-code/eval-export-gen-semi.js +++ b/test/language/module-code/eval-export-gen-semi.js @@ -6,6 +6,7 @@ description: > with a semicolon or newline esid: sec-moduleevaluation flags: [module] +features: [generators] ---*/ var count = 0; diff --git a/test/language/module-code/instn-iee-bndng-gen.js b/test/language/module-code/instn-iee-bndng-gen.js index c32331ef50b655ce6260de8afa3bf76ba1e1c6a9..0df26bef7ade353e05cb6382b1fe2b25b24287a7 100644 --- a/test/language/module-code/instn-iee-bndng-gen.js +++ b/test/language/module-code/instn-iee-bndng-gen.js @@ -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( diff --git a/test/language/module-code/instn-named-bndng-dflt-gen-anon.js b/test/language/module-code/instn-named-bndng-dflt-gen-anon.js index e17ea4829bdc97b4091f3eb97d426ce6eb6e2139..6028c5f62d3ce40508f013529729ef8c0dcfb522 100644 --- a/test/language/module-code/instn-named-bndng-dflt-gen-anon.js +++ b/test/language/module-code/instn-named-bndng-dflt-gen-anon.js @@ -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'); diff --git a/test/language/module-code/instn-named-bndng-dflt-gen-named.js b/test/language/module-code/instn-named-bndng-dflt-gen-named.js index 060f72c730e48d9598605800153f0d962f206ee0..822526d746fa9f05d3f275c57c5f444a2391419b 100644 --- a/test/language/module-code/instn-named-bndng-dflt-gen-named.js +++ b/test/language/module-code/instn-named-bndng-dflt-gen-named.js @@ -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'); diff --git a/test/language/module-code/instn-named-bndng-gen.js b/test/language/module-code/instn-named-bndng-gen.js index 0917e664ac3516e9ba5f7942a5e1d30b43fedf85..ddefbc76f3d9bda18f3a7476c6f4e59f84586f49 100644 --- a/test/language/module-code/instn-named-bndng-gen.js +++ b/test/language/module-code/instn-named-bndng-gen.js @@ -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( diff --git a/test/language/module-code/instn-uniq-env-rec.js b/test/language/module-code/instn-uniq-env-rec.js index 2c5628f04d9d5d1a3241edec8a098339102fd26f..e49c9eec77ab699a7513e1d5da3a515628aaea91 100644 --- a/test/language/module-code/instn-uniq-env-rec.js +++ b/test/language/module-code/instn-uniq-env-rec.js @@ -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' diff --git a/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen-static.js b/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen-static.js index 6a4da69617af0fcd30a100108b9c701f9bdd9df9..dad3211791ef0dca633045e9162c715e375eea66 100644 --- a/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen-static.js +++ b/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen-static.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen.js b/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen.js index 239c6e95ba1ccaf17e15c72a51c9f466ab35fddd..f23428fa66bc60149fb9c3bc7c584ba12bcafe38 100644 --- a/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen.js +++ b/test/language/module-code/parse-err-decl-pos-export-class-decl-method-gen.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen-static.js b/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen-static.js index 4fe83ec7c44bc533324d14a2c9d76734e856558c..f9987fb7d57c94d15cef3644feef80a39b80948a 100644 --- a/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen-static.js +++ b/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen-static.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen.js b/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen.js index 5c034924482f2bd39e8d9b9e82a15038fc37762b..a367b608876ee5efae06be0ef0644db315015ec5 100644 --- a/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen.js +++ b/test/language/module-code/parse-err-decl-pos-export-class-expr-meth-gen.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-export-generator-decl.js b/test/language/module-code/parse-err-decl-pos-export-generator-decl.js index 34035d2d6791f23c39cbaceed35c582226ca5a12..d42c0f796c2ba6253120eb1dcfa186647f4b796d 100644 --- a/test/language/module-code/parse-err-decl-pos-export-generator-decl.js +++ b/test/language/module-code/parse-err-decl-pos-export-generator-decl.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-export-object-gen-method.js b/test/language/module-code/parse-err-decl-pos-export-object-gen-method.js index 304b5a80b6ae5153f297d36bdc8b973063cce09c..6a2b6364e74b829af72291ee28f87f64da83be6c 100644 --- a/test/language/module-code/parse-err-decl-pos-export-object-gen-method.js +++ b/test/language/module-code/parse-err-decl-pos-export-object-gen-method.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen-static.js b/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen-static.js index 7659a1b377faf4af7e62ef5e52e5bdf09896c6b0..f79daa9c1ae1f2340ccab07eb56425d21e37fb4b 100644 --- a/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen-static.js +++ b/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen-static.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen.js b/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen.js index 288c42fec6876dd072e77cde9102bbbc0a68fcbd..bb74bf0d2b78046a4823b46b1177aa320c4e966a 100644 --- a/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen.js +++ b/test/language/module-code/parse-err-decl-pos-import-class-decl-method-gen.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen-static.js b/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen-static.js index f6ee7837f68a8f5696c3a887f17f59e874c70b57..82ef380c190ab1165c2a375eece6f807c75ec67d 100644 --- a/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen-static.js +++ b/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen-static.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen.js b/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen.js index fe4911da5993c8f7289362832ac9c9e4cb024a33..dc623d4a616aebcafa7d9fa204feeee552844a0c 100644 --- a/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen.js +++ b/test/language/module-code/parse-err-decl-pos-import-class-expr-meth-gen.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-import-generator-decl.js b/test/language/module-code/parse-err-decl-pos-import-generator-decl.js index e0dea3ba9c112ed82db02d94a5ec206618865f19..106dc38bc6b285683748e38b6bd06acb0673715b 100644 --- a/test/language/module-code/parse-err-decl-pos-import-generator-decl.js +++ b/test/language/module-code/parse-err-decl-pos-import-generator-decl.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-decl-pos-import-object-gen-method.js b/test/language/module-code/parse-err-decl-pos-import-object-gen-method.js index 39c3cb7726fb2d8f83be5ebe82c7cc37d5790419..52eec77f83a72ebdcfb2a6cadc3a81cb796fc2e5 100644 --- a/test/language/module-code/parse-err-decl-pos-import-object-gen-method.js +++ b/test/language/module-code/parse-err-decl-pos-import-object-gen-method.js @@ -7,6 +7,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-hoist-lex-gen.js b/test/language/module-code/parse-err-hoist-lex-gen.js index a68a31adf00a126f31c2a40b01549a83881109ae..6eaa8fc8eedb7a13dbfb0b707de1982d9af07044 100644 --- a/test/language/module-code/parse-err-hoist-lex-gen.js +++ b/test/language/module-code/parse-err-hoist-lex-gen.js @@ -18,6 +18,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/module-code/parse-err-invoke-anon-gen-decl.js b/test/language/module-code/parse-err-invoke-anon-gen-decl.js index 16eeb6a084823492ee6a81d10238ec9810e5f9fe..34eb16578358ecfe80c05d018297b86d4ce747ef 100644 --- a/test/language/module-code/parse-err-invoke-anon-gen-decl.js +++ b/test/language/module-code/parse-err-invoke-anon-gen-decl.js @@ -19,6 +19,7 @@ negative: phase: early type: SyntaxError flags: [module] +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/class/definition/fn-name-static-precedence.js b/test/language/statements/class/definition/fn-name-static-precedence.js index 6955bbbbb1aa6c3492c097fc72e4b8222a12b4bc..0a3971e53339aa4df676c810441d70b8a0512c12 100644 --- a/test/language/statements/class/definition/fn-name-static-precedence.js +++ b/test/language/statements/class/definition/fn-name-static-precedence.js @@ -14,6 +14,7 @@ info: > 6. If hasNameProperty is false, then perform SetFunctionName(value, className). includes: [propertyHelper.js] +features: [generators] ---*/ class A { diff --git a/test/language/statements/class/gen-method-length-dflt.js b/test/language/statements/class/gen-method-length-dflt.js index a26a287fe728d4bd1e3ab13f7b66ae1d4ed5897d..733f569a250644e4391a0f27152951fd5501ab3b 100644 --- a/test/language/statements/class/gen-method-length-dflt.js +++ b/test/language/statements/class/gen-method-length-dflt.js @@ -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] ---*/ diff --git a/test/language/statements/class/params-dflt-gen-meth-args-unmapped.js b/test/language/statements/class/params-dflt-gen-meth-args-unmapped.js index 0c854d66b693f730020b91216e0fc42e3ebfb10b..4685849ff8782fc31f8bcd4d504e9329d5932080 100644 --- a/test/language/statements/class/params-dflt-gen-meth-args-unmapped.js +++ b/test/language/statements/class/params-dflt-gen-meth-args-unmapped.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: | ClassDeclaration : class BindingIdentifier ClassTail @@ -65,7 +65,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; diff --git a/test/language/statements/class/params-dflt-gen-meth-ref-arguments.js b/test/language/statements/class/params-dflt-gen-meth-ref-arguments.js index 97b5773cbb0b3be877b4212fe4047ce60ed29b69..774452c7e1b6c639b1c77e7e38cdf5171d4d973d 100644 --- a/test/language/statements/class/params-dflt-gen-meth-ref-arguments.js +++ b/test/language/statements/class/params-dflt-gen-meth-ref-arguments.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: | ClassDeclaration : class BindingIdentifier ClassTail diff --git a/test/language/statements/class/params-dflt-gen-meth-static-args-unmapped.js b/test/language/statements/class/params-dflt-gen-meth-static-args-unmapped.js index 554565f338aef1469c52db7ef36f91c861e6c766..ba12ca2d4d5003a5852f369d269ecfd0dbcdce12 100644 --- a/test/language/statements/class/params-dflt-gen-meth-static-args-unmapped.js +++ b/test/language/statements/class/params-dflt-gen-meth-static-args-unmapped.js @@ -4,7 +4,7 @@ description: Referencing the arguments object from a default parameter (static class expression generator method) esid: sec-runtime-semantics-bindingclassdeclarationevaluation es6id: 14.5.15 -features: [default-parameters] +features: [generators, default-parameters] info: | ClassDeclaration : class BindingIdentifier ClassTail @@ -65,7 +65,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; diff --git a/test/language/statements/class/params-dflt-gen-meth-static-ref-arguments.js b/test/language/statements/class/params-dflt-gen-meth-static-ref-arguments.js index 9ac26245c4ff8696e3b5f8830da0af37047800de..407be2cd3b68ce21328f83c908fc1650fc7cb8e9 100644 --- a/test/language/statements/class/params-dflt-gen-meth-static-ref-arguments.js +++ b/test/language/statements/class/params-dflt-gen-meth-static-ref-arguments.js @@ -4,7 +4,7 @@ description: Referencing the arguments object from a default parameter (static class expression generator method) esid: sec-runtime-semantics-bindingclassdeclarationevaluation es6id: 14.5.15 -features: [default-parameters] +features: [generators, default-parameters] info: | ClassDeclaration : class BindingIdentifier ClassTail diff --git a/test/language/statements/class/scope-gen-meth-paramsbody-var-close.js b/test/language/statements/class/scope-gen-meth-paramsbody-var-close.js index e05a47fcd20a0d5b5ab5a4f7b90ab69cdad75c7a..0a74b79e955daacce25d7710ebed074cd3363b56 100644 --- a/test/language/statements/class/scope-gen-meth-paramsbody-var-close.js +++ b/test/language/statements/class/scope-gen-meth-paramsbody-var-close.js @@ -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; diff --git a/test/language/statements/class/scope-gen-meth-paramsbody-var-open.js b/test/language/statements/class/scope-gen-meth-paramsbody-var-open.js index ae60bf59bafa2a1638a55ea74b2ff3a96130e4ee..823b79f99eff5cb282c74ccbb6a794c961c98653 100644 --- a/test/language/statements/class/scope-gen-meth-paramsbody-var-open.js +++ b/test/language/statements/class/scope-gen-meth-paramsbody-var-open.js @@ -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'; diff --git a/test/language/statements/class/scope-static-gen-meth-paramsbody-var-close.js b/test/language/statements/class/scope-static-gen-meth-paramsbody-var-close.js index e83085577381f4251e0ce710997abf9ef419f16f..334f308946d3dd7a87357dedbe1ec9360f8f29af 100644 --- a/test/language/statements/class/scope-static-gen-meth-paramsbody-var-close.js +++ b/test/language/statements/class/scope-static-gen-meth-paramsbody-var-close.js @@ -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; diff --git a/test/language/statements/class/scope-static-gen-meth-paramsbody-var-open.js b/test/language/statements/class/scope-static-gen-meth-paramsbody-var-open.js index 8ffba8b382c838e2029d4d5b515ef58680e6f0ff..2f16a4587f6e6ac81a99fb6a3cd1bc6e3aaecda6 100644 --- a/test/language/statements/class/scope-static-gen-meth-paramsbody-var-open.js +++ b/test/language/statements/class/scope-static-gen-meth-paramsbody-var-open.js @@ -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'; diff --git a/test/language/statements/class/subclass/class-definition-superclass-generator.js b/test/language/statements/class/subclass/class-definition-superclass-generator.js index 966bf33022c43961ca4ba657d96da130dd4a7a7f..e9f927187804e8d856f09db1b37931519fb5f58b 100644 --- a/test/language/statements/class/subclass/class-definition-superclass-generator.js +++ b/test/language/statements/class/subclass/class-definition-superclass-generator.js @@ -6,6 +6,7 @@ description: > Runtime Semantics: ClassDefinitionEvaluation If superclass has a [[FunctionKind]] internal slot whose value is "generator", throw a TypeError exception. +features: [generators] ---*/ function * G() {} diff --git a/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-contains-direct-super.js b/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-contains-direct-super.js index c6b0e3abf566c2c774e4fba68a8d590ebe80910c..e1c9b7f504a9e6301a44effe8e48873f3a6b6ad0 100644 --- a/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-contains-direct-super.js +++ b/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-contains-direct-super.js @@ -12,6 +12,7 @@ description: > negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-propname-constructor.js b/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-propname-constructor.js index 99adf2761f7521fdb71c87a899e14884e1a561e2..cbd1eb928164692afea5e1446a042db3fb497586 100644 --- a/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-propname-constructor.js +++ b/test/language/statements/class/syntax/early-errors/class-body-special-method-generator-propname-constructor.js @@ -12,6 +12,7 @@ description: > negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/do-while/decl-gen.js b/test/language/statements/do-while/decl-gen.js index c4b7bf2fc5f047352d9725036221a19294bf8c5c..dd3d3ca7b1addef72bab0a4b502121d4e3b58336 100644 --- a/test/language/statements/do-while/decl-gen.js +++ b/test/language/statements/do-while/decl-gen.js @@ -7,6 +7,7 @@ es6id: 13.7.2 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/for-in/decl-gen.js b/test/language/statements/for-in/decl-gen.js index 3ec1608328503cc01a171b43005082e174ffabe0..8622f630d60005ac979ab22ea1a58da81ef9bb98 100644 --- a/test/language/statements/for-in/decl-gen.js +++ b/test/language/statements/for-in/decl-gen.js @@ -7,6 +7,7 @@ es6id: 13.7.5 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/for-of/decl-gen.js b/test/language/statements/for-of/decl-gen.js index 384ac5b2fb05e2db221fb0a5f0198ddc4b4319ec..6a40538f5c0a4a481fbafc2696350793ec91c40a 100644 --- a/test/language/statements/for-of/decl-gen.js +++ b/test/language/statements/for-of/decl-gen.js @@ -7,6 +7,7 @@ es6id: 13.7.5 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/for-of/nested.js b/test/language/statements/for-of/nested.js index cd1f4bc976fcdd45c4432d70ce8b7b82b2be1d9c..36cf82fe4c3633967089031f7de9933bf1be46dd 100644 --- a/test/language/statements/for-of/nested.js +++ b/test/language/statements/for-of/nested.js @@ -4,6 +4,7 @@ es6id: 13.6.4.13 description: > Nested statements should operate independently. +features: [generators] ---*/ function* values() { diff --git a/test/language/statements/for/decl-gen.js b/test/language/statements/for/decl-gen.js index 5d6fcb954e3579e30cb4a8435b91c3a5b3f54b25..52c4ac7a66fea09db561b2cee476edbcdc0b273f 100644 --- a/test/language/statements/for/decl-gen.js +++ b/test/language/statements/for/decl-gen.js @@ -7,6 +7,7 @@ es6id: 13.7.4 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/if/if-gen-else-gen.js b/test/language/statements/if/if-gen-else-gen.js index cddfbec3102642210c96a239b4eec15852d8ece2..f4118fa42d7efe5041447a1235b8fcd197c98ac0 100644 --- a/test/language/statements/if/if-gen-else-gen.js +++ b/test/language/statements/if/if-gen-else-gen.js @@ -7,6 +7,7 @@ es6id: 13.6 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/if/if-gen-else-stmt.js b/test/language/statements/if/if-gen-else-stmt.js index e33e3ca8e223f2600edddd4a4d9067a2b423941c..1b5a11c5e29cb3abdc388098848f70be984ef7bb 100644 --- a/test/language/statements/if/if-gen-else-stmt.js +++ b/test/language/statements/if/if-gen-else-stmt.js @@ -7,6 +7,7 @@ es6id: 13.6 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/if/if-gen-no-else.js b/test/language/statements/if/if-gen-no-else.js index 52d8402cd4ad5855e0df1af2d1277fdeb5a21f9c..f89f3afb43497f2a3d0fe12667c89de2d16de375 100644 --- a/test/language/statements/if/if-gen-no-else.js +++ b/test/language/statements/if/if-gen-no-else.js @@ -7,6 +7,7 @@ es6id: 13.6 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/if/if-stmt-else-gen.js b/test/language/statements/if/if-stmt-else-gen.js index c4911f8695352e5357da5b759362558aa14e470e..8cd38a417243e5452483f0721450a2e51be3d4e0 100644 --- a/test/language/statements/if/if-stmt-else-gen.js +++ b/test/language/statements/if/if-stmt-else-gen.js @@ -7,6 +7,7 @@ es6id: 13.6 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/labeled/decl-gen.js b/test/language/statements/labeled/decl-gen.js index 78deada41c2476306afae13151b44ab11e198729..5cc26f17f9924c08832915206817612c583c49ea 100644 --- a/test/language/statements/labeled/decl-gen.js +++ b/test/language/statements/labeled/decl-gen.js @@ -7,6 +7,7 @@ es6id: 13.13 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/let/syntax/let-newline-yield-in-generator-function.js b/test/language/statements/let/syntax/let-newline-yield-in-generator-function.js index c5fe8fb14d22748f68ed3fbdbb2e59468f04083c..4ba3a39a44e604094e7d6d0305f841d79bbd26de 100644 --- a/test/language/statements/let/syntax/let-newline-yield-in-generator-function.js +++ b/test/language/statements/let/syntax/let-newline-yield-in-generator-function.js @@ -14,6 +14,7 @@ info: > negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/while/decl-gen.js b/test/language/statements/while/decl-gen.js index 4ff362ce33206256c3844bf1ccbf0e7a6c933a3f..3e677e6a457345155c4e4d895881da826dceefa6 100644 --- a/test/language/statements/while/decl-gen.js +++ b/test/language/statements/while/decl-gen.js @@ -7,6 +7,7 @@ es6id: 13.7.3 negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated."; diff --git a/test/language/statements/with/decl-gen.js b/test/language/statements/with/decl-gen.js index 3560d3c65a1b3b664b6164349be70fd344d7c0da..20350cfb57d8876b2453e13d16a044ef989f1c56 100644 --- a/test/language/statements/with/decl-gen.js +++ b/test/language/statements/with/decl-gen.js @@ -8,6 +8,7 @@ flags: [noStrict] negative: phase: early type: SyntaxError +features: [generators] ---*/ throw "Test262: This statement should not be evaluated.";