Reviewers: Toon Verwaest,

Description:
Object.observe: generate change records for indexed properties.

Details:
- Extend ElementAccessors with GetAttributes method.
- Add HasLocalElement, Get[Local]ElementAttribute methods to
JSReceiver/JSObject.
- Otherwise, mirror implementation for named properties.

Cannot correctly handle the cases yet where an accessor is redefined or deleted.

(Based on CL https://codereview.chromium.org/11362115/)

[email protected]
BUG=


Please review this at https://codereview.chromium.org/11365111/

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

Affected files:
  M src/elements.h
  M src/elements.cc
  M src/objects-inl.h
  M src/objects.h
  M src/objects.cc
  M test/mjsunit/harmony/object-observe.js


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

Reply via email to