test262/test
jugglinmike be19aaa18e Add tests ensuring iterator is not closed (#702)
A subtle aspect of the for-of iteration protocol concerns abrupt
completions that do *not* trigger iterator closing. Although this detail
is implicit in the current structure of the specification text, some
hosts may violate the protocol by closing the iterator because later
steps *do* specify that behavior.

The V8 engine is one such host--as of this writing, it incorrectly
closes the iterator when accessing the `value` property of the iterator
result produces an abrupt completion.

Add tests verifying that the iterator protocol is not violated in this
way for abrupt completions during the semantics of for-of evaluation.
2016-06-28 10:55:18 -04:00
..
annexB Add tests for Annex B `Object.prototype` methods (#626) 2016-06-08 12:41:26 -04:00
built-ins Expand tests for Math.log1p 2016-06-27 16:04:17 -04:00
harness Add harness for byte conversion values 2016-05-25 10:10:50 -04:00
intl402 Add tests for Intl.getCanonicalLocales 2016-06-07 14:52:04 -04:00
language Add tests ensuring iterator is not closed (#702) 2016-06-28 10:55:18 -04:00