Go to file
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 Convert array index to integer when computing pause distribution for spinning-balls. 2011-10-31 17:26:59 +00:00
build Add presubmit=no and werror=no flags to Makefile 2011-10-06 11:08:41 +00:00
include Make MSVS happy with ExternalAsciiStringResourceImpl 2011-09-28 11:01:17 +00:00
preparser Ignore flags with arguments in preparser-process. 2011-10-14 07:34:45 +00:00
samples Fix presubmit errors caused by updated depot tools 2011-09-08 19:57:14 +00:00
src Fix setting array length to be ES5 conform. 2011-11-08 11:59:56 +00:00
test Fix setting array length to be ES5 conform. 2011-11-08 11:59:56 +00:00
tools Disentangle header dependecies a bit by moving PropertyDetails-related types into a separate header 2011-11-08 10:43:25 +00:00
.gitignore Add *.so to .gitignore. 2011-09-07 21:09:13 +00:00
AUTHORS Debugger: fix stepping next with trycatch recursion 2011-09-13 14:38:39 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.7.5. 2011-11-07 10:08:24 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Add presubmit=no and werror=no flags to Makefile 2011-10-06 11:08:41 +00:00
SConstruct Allow snapshots to be generated without using vfp3 code on arm. 2011-08-10 11:14:32 +00:00