[Project_owners] Speeding Up Extensions/Performance
Adam Kowalczyk
adam-kowalczyk at o2.pl
Mon Dec 24 14:17:42 PST 2007
xeen wrote:
> Interestingly. Do you have a bug at hand? And do you know if it
> applies to JS setters as well (e.g. element.value=123)? If not, it's
> worth to note that either if+setter or setAttribute should be
> utilized.
> Greetings
> xeen
>
Setting a property is usually equivalent to setting an attribute,
because setters (which are implemented in XBL) set the attribute
anyway. In fact, in many cases it's all they do. Take your own example
of statusbarpanel.label:
http://mxr.mozilla.org/seamonkey/source/toolkit/content/widgets/general.xml#241
- Adam
More information about the Project_owners
mailing list