Class Firebug.Spy
Represents a XHR Spy module. The main purpose of the XHR Spy feature is to monitor
XHR activity of the current page and create appropriate log into the Console panel.
This feature can be controlled by an option Show XMLHttpRequests (from within the
console panel).
The module is responsible for attaching/detaching a HTTP Observers when Firebug is
activated/deactivated for a site.
Defined in: spy.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
Firebug.Spy.getXHR(request)
Return XHR object that is associated with specified request nsIHttpChannel.
|
<static> |
Firebug.Spy.skipSpy(win)
Returns false if Spy should not be attached to XHRs executed by the specified window.
|
Method Detail
<static>
Firebug.Spy.getXHR(request)
Return XHR object that is associated with specified request nsIHttpChannel.
Returns null if the request doesn't represent XHR.
- Parameters:
- request
<static>
Firebug.Spy.skipSpy(win)
Returns false if Spy should not be attached to XHRs executed by the specified window.
- Parameters:
- win