v8/test
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
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest Fix redefinition of aliased elements in arguments. 2012-02-23 11:43:07 +00:00
es5conform MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
message MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
mjsunit Support OSR in for-in loops. 2012-02-22 16:45:35 +00:00
mozilla Fix test expectations after r10743. 2012-02-20 09:47:31 +00:00
preparser MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
sputnik Fix RegExp white-space character class to match BOMs. 2012-02-20 17:50:53 +00:00
test262 Fix redefinition of aliased elements in arguments. 2012-02-23 11:43:07 +00:00