Firebug 1.8 Architecture Review

From FirebugWiki

Revision as of 08:56, 27 May 2011 by Honza (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The current initialization is triggered by the panelbar XBL constructor in bindings.xml. It calls Firebug which has a counter. Each panelBar (main or side) calls the initializer and after both arrive, starts. It first constructs the Firebug namespace by calling the functions created by the script tags. That causes Firebug.Module registration. Then it calls Firebug.initialize() which dispatches 'initialize' to the Modules. These initialize state. Finally it sets 'load' event listeners on the panel browsers. Up to this point I believe that all the operations are synchronous. So the Modules are all set before we ever finish browser.xul.


Personal tools