Class Firebug.Module
Base class for all modules. Every derived module object must be registered using
Firebug.registerModule
method. There is always one instance of a module object
per browser window.
Defined in: firebug.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
Firebug.Module.destroyContext(context, persistedState)
Called when a context is destroyed.
|
<static> |
Firebug.Module.initContext(context, persistedState)
Called when a new context is created but before the page is loaded.
|
<static> |
Firebug.Module.initialize()
Called by Firebug when Firefox window is opened.
|
<static> |
Firebug.Module.initializeUI(detachArgs)
Called when the UI is ready for context creation.
|
<static> |
Firebug.Module.loadedContext(context)
Called after a context's page gets DOMContentLoaded
|
<static> |
Firebug.Module.shutdown()
Called by Firebug when Firefox window is closed.
|
<static> |
Firebug.Module.unwatchWindow(context, win)
Called when unwatching a window (top-level or frame).
|
<static> |
Firebug.Module.watchWindow(context, win)
Called when attaching to a window (top-level or frame).
|
Method Detail
<static>
Firebug.Module.destroyContext(context, persistedState)
Called when a context is destroyed. Module may store info on persistedState
for reloaded pages.
- Parameters:
- context
- persistedState
<static>
Firebug.Module.initContext(context, persistedState)
Called when a new context is created but before the page is loaded.
- Parameters:
- context
- persistedState
<static>
Firebug.Module.initialize()
Called by Firebug when Firefox window is opened.
<static>
Firebug.Module.initializeUI(detachArgs)
Called when the UI is ready for context creation.
Used by chromebug; normally FrameProgressListener events trigger UI synchronization,
this event allows sync without progress events.
- Parameters:
- detachArgs
<static>
Firebug.Module.loadedContext(context)
Called after a context's page gets DOMContentLoaded
- Parameters:
- context
<static>
Firebug.Module.shutdown()
Called by Firebug when Firefox window is closed.
<static>
Firebug.Module.unwatchWindow(context, win)
Called when unwatching a window (top-level or frame).
- Parameters:
- context
- win
<static>
Firebug.Module.watchWindow(context, win)
Called when attaching to a window (top-level or frame).
- Parameters:
- context
- win