mirror of https://github.com/tc39/test262.git
Fix some generators feature flags (#1933)
This commit is contained in:
parent
19fa24ee91
commit
0475c127c4
|
@ -14,7 +14,7 @@ info: |
|
|||
NativeFunction:
|
||||
function IdentifierName_opt ( FormalParameters ) { [ native code ] }
|
||||
|
||||
features: [async-functions, generators, Proxy]
|
||||
features: [async-functions, Proxy]
|
||||
includes: [nativeFunctionMatcher.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() {}, {});
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
4. Let arrayLike be ? IterableToArrayLike(object).
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [generators, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -8,7 +8,7 @@ description: >
|
|||
isConstructor
|
||||
|
||||
includes: [isConstructor.js]
|
||||
features: [Reflect.construct]
|
||||
features: [generators, Reflect.construct]
|
||||
---*/
|
||||
|
||||
assert.sameValue(typeof isConstructor, "function");
|
||||
|
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue