More explanation on this is that I do these changes in setPropertyForResult in object.cc. I want to be able to (for example encrypt) data assigned to value of an input. The setPropertyForResult recieves just pair of name and value to be assigned to this property of Object, and I have no access to other attributes of that object.
I have tried to add these objects to a map when I see the attribute "TYPEX" in a tag. But strange thing that happen is that I need to access the attribute in order to make it visible to v8, otherwise it seems that this object does not have this attribute. Is this something related to hidden class and dynamic attributes? Do you think that I should handle this in upper level (for example DOM) instead of v8? Thanks, HDev On Monday, October 22, 2012 11:07:06 AM UTC+8, HDev wrote: > > Hi All, > > I would like to define a new type in html pages. The indication that the > value of an element is of this new type is a property I set to the HTML tag > of that element. > For example, I set an attribute named type="TYPEX" and would like to be > able to treat the value based on this attribute. > > The problem is that when the value is accessed, I have no sense of what is > the type of this element. How can I handle this situation? > > I really need help and your advice. > > Thanks, > HDev > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
