v8/test
mstarzinger@chromium.org e24c612a5e Fix setting array length to be ES5 conform.
This also refactors the way we set the length of an arrays' backing
store to use the new elements accessor interface. The actual fix is in
DictionaryElementsAccessor::SetLengthWithoutNormalize() where we first
search for non-deletable elements according to ES5 section 15.4.5.2
specifications.

Snippet from the specification: Attempting to set the length property of
an Array object to a value that is numerically less than or equal to the
largest numeric property name of an existing array indexed non-deletable
property of the array will result in the length being set to a numeric
value that is one greater than that largest numeric property name.

R=danno@chromium.org
TEST=test262/15.4.4.??-7-b-16

Review URL: http://codereview.chromium.org/8372064

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9911 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-11-08 11:59:56 +00:00
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest Fix gcc-4.6 warnings. 2011-11-03 08:59:01 +00:00
es5conform Fixed status file of es5conform test suite. 2011-10-07 15:02:42 +00:00
message Fix bug introduced by earlier "cleanup". 2011-08-22 12:54:03 +00:00
mjsunit Revert r9901 to make tree green again. 2011-11-08 09:56:09 +00:00
mozilla Remove special-casing of calls to RegExp test and exec methods with no argument. 2011-10-26 12:51:07 +00:00
preparser Disallow strict mode FutureReservedWords as break/continue labels in strict mode 2011-09-22 16:38:28 +00:00
sputnik Remove special-casing of calls to RegExp test and exec methods with no argument. 2011-10-26 12:51:07 +00:00
test262 Fix setting array length to be ES5 conform. 2011-11-08 11:59:56 +00:00