v8/test/test262
mstarzinger@chromium.org 1a356cff3e Fix redefinition of aliased elements in arguments.
This refactors the way we (re)define elements to perform normalization
and attribute updating at a much deeper level, thereby removing some
bogus special cases in upper runtime layers.

Most element setters take an indicator flag that distinguishes between
setting and defining. Setting of an element causes attributes to remain
unchanged, writability to be checked and callbacks to be called.
Defining of an element causes attributes to be updated and callbacks to
be overridden. The same approach could be taken for properties.

R=svenpanne@chromium.org
BUG=v8:1772
TEST=test262,test262/15.2.3.6-4-333-11

Review URL: https://chromiumcodereview.appspot.com/9443014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10808 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-02-23 11:43:07 +00:00
..
harness-adapt.js Updated status file for test262 to latest revision. 2011-07-09 07:29:32 +00:00
README Update status file to recent test262 version. 2012-02-17 13:35:00 +00:00
test262.status Fix redefinition of aliased elements in arguments. 2012-02-23 11:43:07 +00:00
testcfg.py Fix Test262 command line in test harness. 2011-12-16 13:37:20 +00:00

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

  http://hg.ecmascript.org/tests/test262

at revision 309 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.

hg clone -r 309 http://hg.ecmascript.org/tests/test262 data

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.