[Project_owners] Global listeer
Michael Vincent van Rantwijk, MultiZilla
mv_van_rantwijk at yahoo.com
Thu Nov 15 14:37:54 PST 2007
Nickolay Ponomarev wrote:
> On Nov 15, 2007 6:34 PM, Michael Vincent van Rantwijk, MultiZilla
> <mv_van_rantwijk at yahoo.com> wrote:
>>> The listener added via window.addEventListener('load' ...) will not
>>> run more than once, no? It handles the chrome window's load.
>> Normally yes, but anyone can trigger a load event on a chrome window,
>> for whatever reason, and that is when things go wrong here.
>>
> That evil person can call the event handler directly as well.
This is about people getting confused because of all different window
types, nothing else.
> This is
> not an issue, extensions are supposed to behave in a sensible way,
> otherwise the browser (and the user) is screwed.
Not an issue? Why do you think people _have_ to check for additional
load events in the first place?
--
Michael Vincent van Rantwijk
- MultiZilla Project Team Lead
- XUL Boot Camp Staff member (ActiveState Training Partner)
- iPhone Application Developer
More information about the Project_owners
mailing list