Eric H. Jung wrote:
To follow-up on my own suggestion:
http://mxr.mozilla.org/seamonkey/source/browser/components/sessionstore/src/nsSessionStore.js
shows a few dispatchEvent() calls, dispatching SSTabRestoring, SSTabRestored, 
SSTabClosing, etc.

Would observing one or more of these suffice?
If you want to wait until session store is finished restoring windows and tabs, you can observe the sessionstore-windows-restored notification. A variety of other startup notifications are also available:

http://developer.mozilla.org/en/docs/Observer_Notifications#Application_startup

-myk

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

Reply via email to