mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 06:25:30 +02:00
Annotate tests with required features
This commit is contained in:
parent
19e6755f61
commit
0900ac0ae8
@ -4,6 +4,7 @@
|
|||||||
es6id: 13.6.4.13
|
es6id: 13.6.4.13
|
||||||
description: >
|
description: >
|
||||||
Generator function should return valid iterable objects.
|
Generator function should return valid iterable objects.
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function* values() {
|
function* values() {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
es6id: 13.6.4.13
|
es6id: 13.6.4.13
|
||||||
description: >
|
description: >
|
||||||
Generic objects with `@@iterator` protocols should function as iterables.
|
Generic objects with `@@iterator` protocols should function as iterables.
|
||||||
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iterable = {};
|
var iterable = {};
|
||||||
|
@ -5,6 +5,7 @@ es6id: 13.6.4.13
|
|||||||
description: >
|
description: >
|
||||||
Iterators that are implemented as proxies should behave identically to
|
Iterators that are implemented as proxies should behave identically to
|
||||||
non-proxy versions.
|
non-proxy versions.
|
||||||
|
features: [Proxy, Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iterable = {};
|
var iterable = {};
|
||||||
|
@ -5,6 +5,7 @@ es6id: 13.6.4.13 S5.c
|
|||||||
description: >
|
description: >
|
||||||
The iterator's `next` method should be accessed with each iteration as per
|
The iterator's `next` method should be accessed with each iteration as per
|
||||||
the `IteratorStep` abstract operation (7.4.5).
|
the `IteratorStep` abstract operation (7.4.5).
|
||||||
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iterable = {};
|
var iterable = {};
|
||||||
|
@ -5,6 +5,7 @@ es6id: 7.4.3
|
|||||||
description: >
|
description: >
|
||||||
The `done` value of iteration result objects should be interpreted as
|
The `done` value of iteration result objects should be interpreted as
|
||||||
incomplete as per `ToBoolean` (7.1.2).
|
incomplete as per `ToBoolean` (7.1.2).
|
||||||
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iterable = {};
|
var iterable = {};
|
||||||
|
@ -5,6 +5,7 @@ es6id: 13.6.4.13 S5.c
|
|||||||
description: >
|
description: >
|
||||||
If Type(result) is not Object, throw a TypeError exception as per
|
If Type(result) is not Object, throw a TypeError exception as per
|
||||||
`IteratorNext` (7.4.2 S4)
|
`IteratorNext` (7.4.2 S4)
|
||||||
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iterable = {};
|
var iterable = {};
|
||||||
|
@ -5,6 +5,7 @@ es6id: 13.6.4.13 S5.f
|
|||||||
description: >
|
description: >
|
||||||
The `value` of iteration result objects should be retrieved using the Get
|
The `value` of iteration result objects should be retrieved using the Get
|
||||||
abstract operation.
|
abstract operation.
|
||||||
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var iterable = {};
|
var iterable = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user