On Nov 15, 2007 6:34 PM, Michael Vincent van Rantwijk, MultiZilla
<[EMAIL PROTECTED]> 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
not an issue, extensions are supposed to behave in a sensible way,
otherwise the browser (and the user) is screwed.

Nickolay
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to