Reviewers: Mads Ager, Erik Corry,

Description:
Added Object.defineProperty + needed internal functionality:
  DefineOwnProperty (changed to allow for redefinition of existing property)
  SameValue
  Extra info on propertydescriptor
  GetProperty
  HasProperty

Currently the DefineOrRedefineAccessorProperty deletes the existing
property on the object if it is a dataproperty (FIELD or NORMAL) and
adds a new one. This can potentially be optimized.



Please review this at http://codereview.chromium.org/555149

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

Affected files:
  M     src/messages.js
  M     src/runtime.h
  M     src/runtime.cc
  M     src/runtime.js
  M     src/v8natives.js
  M     test/es5conform/es5conform.status
  A     test/mjsunit/object-define-property.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to