Reviewers: Mads Ager,

Description:
Add support for elements and array indices in Object.defineProperty
(fixes bug 619).

This also fixes a bug in GetOwnProperty in runtime.cc discovered by
the new test cases. That part of the code was not testable before
since we had no way of correctly defining properties on elements.


Please review this at http://codereview.chromium.org/2832001/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/objects.h
  M     src/runtime.cc
  D     test/mjsunit/bugs/bug-619.js
  M     test/mjsunit/object-define-property.js
  A  +  test/mjsunit/regress/regress-619.js


--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to