Annotate tests with required features

This commit is contained in:
Mike Pennisi 2015-05-27 11:24:42 -04:00
parent 19e6755f61
commit 0900ac0ae8
7 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@
es6id: 13.6.4.13
description: >
Generator function should return valid iterable objects.
features: [generators]
---*/
function* values() {

View File

@ -4,6 +4,7 @@
es6id: 13.6.4.13
description: >
Generic objects with `@@iterator` protocols should function as iterables.
features: [Symbol.iterator]
---*/
var iterable = {};

View File

@ -5,6 +5,7 @@ es6id: 13.6.4.13
description: >
Iterators that are implemented as proxies should behave identically to
non-proxy versions.
features: [Proxy, Symbol.iterator]
---*/
var iterable = {};

View File

@ -5,6 +5,7 @@ es6id: 13.6.4.13 S5.c
description: >
The iterator's `next` method should be accessed with each iteration as per
the `IteratorStep` abstract operation (7.4.5).
features: [Symbol.iterator]
---*/
var iterable = {};

View File

@ -5,6 +5,7 @@ es6id: 7.4.3
description: >
The `done` value of iteration result objects should be interpreted as
incomplete as per `ToBoolean` (7.1.2).
features: [Symbol.iterator]
---*/
var iterable = {};

View File

@ -5,6 +5,7 @@ es6id: 13.6.4.13 S5.c
description: >
If Type(result) is not Object, throw a TypeError exception as per
`IteratorNext` (7.4.2 S4)
features: [Symbol.iterator]
---*/
var iterable = {};

View File

@ -5,6 +5,7 @@ es6id: 13.6.4.13 S5.f
description: >
The `value` of iteration result objects should be retrieved using the Get
abstract operation.
features: [Symbol.iterator]
---*/
var iterable = {};