62572e011e
The enumerable expression in a for-in/of loop is supposed to have a TDZ for any lexically bound names in that loop (there can be more than one with destructuring). This patch accomplishes this with an almost-correct desugaring. The only thing missing is proper debugger support (the let declarations added by the desugaring, while invisible to code due to shadowing, are visible to the debugger). BUG=v8:4210 LOG=n Review URL: https://codereview.chromium.org/1218543003 Cr-Commit-Position: refs/heads/master@{#29396} |
||
---|---|---|
.. | ||
harness-adapt.js | ||
README | ||
test262-es6.status | ||
testcfg.py |
This directory contains code for binding the test262 test suite into the v8 test harness. To use the tests check out the test262 tests from https://github.com/tc39/test262 at hash 488c0a7 (2015/06/11 revision) as 'data' in this directory. Using later version may be possible but the tests are only known to pass (and indeed run) with that revision. git clone https://github.com/tc39/test262 data cd data git checkout 488c0a7 If you do update to a newer revision you may have to change the test harness adapter code since it uses internal functionality from the harness that comes bundled with the tests. You will most likely also have to update the test expectation file.