test262/test/language/statements/for-of
Mike Pennisi 10e0d977ec Prefer explicit error checking where possible
The `negative` frontmatter tag expresses an expectation for the behavior
of the test file as a whole. The `assert.throws` helper function offers
more fine-grained control over expectations because it may be applied to
specific statements and expressions. This makes it preferable in cases
where it may be used (i.e. when the test body does not describe a syntax
error or early error).

Re-implement assertions for errors to use the `assert.throws` helper
function wherever possible.
2015-07-10 14:12:57 -04:00
..
Array.prototype.Symbol.iterator.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
Array.prototype.entries.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
Array.prototype.keys.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
arguments-mapped-aliasing.js Create distinct tests for arguments object types 2015-06-18 16:01:49 -04:00
arguments-mapped-mutation.js Create distinct tests for arguments object types 2015-06-18 16:01:49 -04:00
arguments-mapped.js Create distinct tests for arguments object types 2015-06-18 16:01:49 -04:00
arguments-unmapped-aliasing.js Create distinct tests for arguments object types 2015-06-18 16:01:49 -04:00
arguments-unmapped-mutation.js Create distinct tests for arguments object types 2015-06-18 16:01:49 -04:00
arguments-unmapped.js Create distinct tests for arguments object types 2015-06-18 16:01:49 -04:00
array-contract-expand.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
array-contract.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
array-expand-contract.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
array-expand.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
array-key-get-error.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
array.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
body-dstr-assign-error.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
body-dstr-assign.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
body-put-error.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
break-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break-label-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break-label-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break-label-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break-label.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
break.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
const-bound-names-fordecl-tdz-for-of.js Prefer explicit error checking where possible 2015-07-10 14:12:57 -04:00
const-fresh-binding-per-iteration-for-of.js Import tests from Google V8 (Block Scope Additions) 2015-04-09 14:21:06 -04:00
continue-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue-label-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue-label-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue-label-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue-label.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
continue.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
float32array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
float32array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
float64array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
float64array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
generator-close-via-break.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
generator-close-via-return.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
generator-close-via-throw.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
generator-next-error.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
generator.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
generic-iterable.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
head-expr-obj-iterator-method.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
head-expr-primitive-iterator-method.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
head-expr-to-obj.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
int8array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
int8array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
int16array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
int16array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
int32array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
int32array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
iterator-as-proxy.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
iterator-close-get-method-error.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-close-non-object.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-close-via-break.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-close-via-return.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-close-via-throw.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-next-error.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-next-reference.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
iterator-next-result-done-attr.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
iterator-next-result-type.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
iterator-next-result-value-attr-error.js Increase coverage for for..of iteration 2015-05-27 15:14:51 -04:00
iterator-next-result-value-attr.js Annotate tests with required features 2015-05-27 11:36:10 -04:00
let-bound-names-fordecl-tdz-for-of.js Prefer explicit error checking where possible 2015-07-10 14:12:57 -04:00
let-fresh-binding-per-iteration-for-of.js Import tests from Google V8 (Block Scope Additions) 2015-04-09 14:21:06 -04:00
map-contract-expand.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
map-contract.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
map-expand-contract.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
map-expand.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
map.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
nested.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
return-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
return-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
return-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
return.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
set-contract-expand.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
set-contract.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
set-expand-contract.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
set-expand.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
set.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
string-astral-truncated.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
string-astral.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
string-bmp.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
throw-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
throw-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
throw.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
uint8array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint8array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint8clampedarray-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint8clampedarray.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint16array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint16array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint32array-mutate.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
uint32array.js Add tests for `for..of` iteration over built-ins 2015-06-18 15:53:19 -04:00
yield-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield-star-from-catch.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield-star-from-finally.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield-star-from-try.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield-star.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00
yield.js Improve `for..of` control flow tests 2015-04-21 12:55:27 -04:00