Status: New
Owner: ----
New issue 1022 by cmarcelo: Interceptor "blocking" setter in prototype
http://code.google.com/p/v8/issues/detail?id=1022
Tested with trunk, revision 6187.
For Setters, if I create an interceptor in my InstanceTemplate, and just
return empty handle, to make it pass through, it will work correctly if I
have an accessor in the InstanceTemplate or in the object itself. But
doesn't call my accessor if it is in the PrototypeTemplate.
Example attached, I'm getting this output:
InterceptorGetter
ProtoGetter
---
InterceptorSetter
... but was expecting:
InterceptorGetter
ProtoGetter
---
InterceptorSetter
ProtoSetter
For convenience the example have the InstanceTemplate and object accessors
commented, making it easy to compare the behavior.
Attachments:
main.cc 1.9 KB
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev