b004b1d821
This removes the duplicate property check from object literals. Instead we repurpose the ObjectLiteralChecker into two cases, implemented by two subclasses to ObjectLiteralCheckerBase called ObjectLiteralChecker and ClassLiteralChecker. The object literal checker now only checks for duplicate __proto__ fields in object literals. The class literal checker checks for duplicate constructors, non constructor fields named constructor as well as static properties named prototype. BUG=v8:3819 LOG=Y R=adamk, dslomov@chromium.org Review URL: https://codereview.chromium.org/873823003 Cr-Commit-Position: refs/heads/master@{#26336} |
||
---|---|---|
.. | ||
harness-adapt.js | ||
README | ||
test262.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 revision 365 (hash fbba29f) 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 fbba29f 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.