[Project_owners] Repeating load events

Andrew Kuttig andrew.kuttig at colorado.edu
Sat Sep 6 22:19:37 EDT 2003

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?  Is there some way to detect the 
actual final "load" call?

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?

Thanks everyone!

More information about the Project_owners mailing list