Fix special handling of DefineOwnProperty on arrays.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 12 Oct 2011 14:47:13 +0000 (14:47 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 12 Oct 2011 14:47:13 +0000 (14:47 +0000)
commitd32c330ecf22cabb5b3bb167e6dd5acaf921031c
treef455bd3c0b238bec5f2bf03e6b3805f0e1a2c369
parent298e0a98623ae3d696f6cc065feed6af645ea381
Fix special handling of DefineOwnProperty on arrays.

According to the ES5 spec the implementation of DefineOwnProperty() has
to special case handling of arrays. This is a preliminary implementation
correctly handling definition of array index properties, defining length
properties is not completely covered yet.

R=rossberg@chromium.org
TEST=test262

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9596 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/v8natives.js
test/test262/test262.status