DescriptionObject.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.
Also fixed handling of object info table.
(Based on CL https://codereview.chromium.org/11362115/)
R=verwaest@chromium.org,mstarzinger@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=12900
Patch Set 1 #
Total comments: 12
Patch Set 2 : Addressed comments; added/fixed missing bits of new elements functionality. #
Total comments: 10
Patch Set 3 : Addressing comments; simplifications. #
Messages
Total messages: 9 (0 generated)
|