From 0475c127c4c0d4c8ab8c843dcb237f330507c072 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrian=20Heine=20n=C3=A9=20Lang?= <mail@adrianheine.de>
Date: Wed, 7 Nov 2018 23:51:23 +0100
Subject: [PATCH] Fix some generators feature flags (#1933)

---
 .../prototype/toString/proxy-async-method-definition.js         | 2 +-
 test/built-ins/Object/prototype/toString/proxy-function.js      | 2 +-
 .../TypedArrayConstructors/ctors/object-arg/iterating-throws.js | 2 +-
 test/harness/isConstructor.js                                   | 2 +-
 test/language/expressions/await/for-await-of-interleaved.js     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/built-ins/Function/prototype/toString/proxy-async-method-definition.js b/test/built-ins/Function/prototype/toString/proxy-async-method-definition.js
index c75842e6a7..7cc6b67e7c 100644
--- a/test/built-ins/Function/prototype/toString/proxy-async-method-definition.js
+++ b/test/built-ins/Function/prototype/toString/proxy-async-method-definition.js
@@ -14,7 +14,7 @@ info: |
   NativeFunction:
     function IdentifierName_opt ( FormalParameters ) { [ native code ] }
 
-features: [async-functions, generators, Proxy]
+features: [async-functions, Proxy]
 includes: [nativeFunctionMatcher.js]
 ---*/
 
diff --git a/test/built-ins/Object/prototype/toString/proxy-function.js b/test/built-ins/Object/prototype/toString/proxy-function.js
index 6784406145..965aeba623 100644
--- a/test/built-ins/Object/prototype/toString/proxy-function.js
+++ b/test/built-ins/Object/prototype/toString/proxy-function.js
@@ -14,7 +14,7 @@ info: |
     a. Set the [[Call]] internal method of P as specified in 9.5.12.
   [...]
 
-features: [Proxy, Symbol.toStringTag]
+features: [generators, Proxy, Symbol.toStringTag]
 ---*/
 
 var functionProxy = new Proxy(function() {}, {});
diff --git a/test/built-ins/TypedArrayConstructors/ctors/object-arg/iterating-throws.js b/test/built-ins/TypedArrayConstructors/ctors/object-arg/iterating-throws.js
index 41fc555098..ca041be3d8 100644
--- a/test/built-ins/TypedArrayConstructors/ctors/object-arg/iterating-throws.js
+++ b/test/built-ins/TypedArrayConstructors/ctors/object-arg/iterating-throws.js
@@ -16,7 +16,7 @@ info: |
   4. Let arrayLike be ? IterableToArrayLike(object).
   ...
 includes: [testTypedArray.js]
-features: [TypedArray]
+features: [generators, TypedArray]
 ---*/
 
 testWithTypedArrayConstructors(function(TA) {
diff --git a/test/harness/isConstructor.js b/test/harness/isConstructor.js
index 11bda9b3b5..54460ce149 100644
--- a/test/harness/isConstructor.js
+++ b/test/harness/isConstructor.js
@@ -8,7 +8,7 @@ description: >
       isConstructor
 
 includes: [isConstructor.js]
-features: [Reflect.construct]
+features: [generators, Reflect.construct]
 ---*/
 
 assert.sameValue(typeof isConstructor, "function");
diff --git a/test/language/expressions/await/for-await-of-interleaved.js b/test/language/expressions/await/for-await-of-interleaved.js
index c3c590d24a..0d5892acea 100644
--- a/test/language/expressions/await/for-await-of-interleaved.js
+++ b/test/language/expressions/await/for-await-of-interleaved.js
@@ -8,7 +8,7 @@ description: >
   for-await-of iteration and builtin Promises are properly interleaved,
   meaning await in for-of loop takes only 1 tick on the microtask queue.
 flags: [async]
-features: [async-functions, async-iteration]
+features: [async-functions, async-iteration, generators]
 includes: [compareArray.js]
 ---*/
 
-- 
GitLab