Fix some generators feature flags (#1933)

This commit is contained in:
Adrian Heine né Lang 2018-11-07 23:51:23 +01:00 committed by Leo Balter
parent 19fa24ee91
commit 0475c127c4
5 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ info: |
NativeFunction:
function IdentifierName_opt ( FormalParameters ) { [ native code ] }
features: [async-functions, generators, Proxy]
features: [async-functions, Proxy]
includes: [nativeFunctionMatcher.js]
---*/

View File

@ -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() {}, {});

View File

@ -16,7 +16,7 @@ info: |
4. Let arrayLike be ? IterableToArrayLike(object).
...
includes: [testTypedArray.js]
features: [TypedArray]
features: [generators, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -8,7 +8,7 @@ description: >
isConstructor
includes: [isConstructor.js]
features: [Reflect.construct]
features: [generators, Reflect.construct]
---*/
assert.sameValue(typeof isConstructor, "function");

View File

@ -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]
---*/