Hello, all!

i just spent 3 hours trying to figure out why my
ObjectTemplate::SetIndexedPropertyHandler()-assigned handlers were
never being called, finally found a hint at the solution in some 3rd-
party code[1], and now i have a question...

Apparently SetIndexedPropertyHandler() must be called on classTemplate-
>InstanceTemplate() and not classTemplate->PrototypeTemplate() (where
all other class properties except InternalFieldCount are set,
including the AccessorGetter/Setter bindings).

Why?

What's the difference between the InstanceTemplate and the
PrototypeTemplate?


:-?


[1]=http://www.sand-labs.org/svn/trunk/WebCore/bindings/v8/
V8Collection.h

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to