[Project_owners] Repeating load events
ben.bucksch.news at beonex.com
Sun Sep 7 08:54:46 EDT 2003
Andrew Kuttig wrote:
> The new Firebird extension I am working on requires that a function be
> called when a document is done loading. However, the function
> sometimes requires significant processing time. This wouldn't be a
> problem except that the "load" event is triggered multiple times when
> a page is loading. Is it supposed to do that?
Sounds like a (nasty) bug to me.
> Also, due to the amount of processing that is sometimes required, it
> would be helpful to cause this function to be called in a new thread.
> Is there some XPCOM support for multi-threading?
No. All UI and JS (both page and chrome) runs on the same thread, IIRC.
More information about the Project_owners