Class FirebugEventAdaptor
Defined in: FirebugEventAdaptor.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
handles events on a per-context basis
and returns event arguments formatted as JSON objects.
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
FirebugEventAdaptor.onBreak()
handles
onBreak event. |
| <static> |
FirebugEventAdaptor.onConsoleDebug(data)
|
| <static> |
FirebugEventAdaptor.onConsoleError(data)
|
| <static> |
FirebugEventAdaptor.onConsoleInfo(data)
|
| <static> |
FirebugEventAdaptor.onConsoleLog(data)
|
| <static> |
FirebugEventAdaptor.onConsoleWarn(data)
|
| <static> |
FirebugEventAdaptor.onContextCreated()
|
| <static> |
FirebugEventAdaptor.onContextDestroyed()
|
| <static> |
FirebugEventAdaptor.onInspectNode(node)
handles
onInspectNode event. |
| <static> |
FirebugEventAdaptor.onResume()
handles
onResume event. |
| <static> |
FirebugEventAdaptor.onScript(data)
Event that is generated when a new script is compiled
|
| <static> |
FirebugEventAdaptor.onToggleBreakpoint()
handles
onToggleBreakpoint event. |
Class Detail
FirebugEventAdaptor()
handles events on a per-context basis
and returns event arguments formatted as JSON objects.
Method Detail
<static>
FirebugEventAdaptor.onBreak()
handles
onBreak event.
- Returns:
url,lineandcontext_id
<static>
FirebugEventAdaptor.onConsoleDebug(data)
- Parameters:
- data
- the data that was logged to the console with this console event.
- Returns:
context_id,data
<static>
FirebugEventAdaptor.onConsoleError(data)
- Parameters:
- data
- the data that was logged to the console with this console event.
- Returns:
context_id,datadata associated with this console event.
<static>
FirebugEventAdaptor.onConsoleInfo(data)
- Parameters:
- data
- the data that was logged to the console with this console event.
- Returns:
context_id,datadata associated with this console event.
<static>
FirebugEventAdaptor.onConsoleLog(data)
- Parameters:
- data
- the data that was logged to the console with this console event.
- Returns:
context_id,datadata associated with this console event.
<static>
FirebugEventAdaptor.onConsoleWarn(data)
- Parameters:
- data
- the data that was logged to the console with this console event.
- Returns:
context_id,datadata associated with this console event.
<static>
FirebugEventAdaptor.onContextCreated()
- Returns:
context_idof the created context.
<static>
FirebugEventAdaptor.onContextDestroyed()
- Returns:
context_idof the destroyed context.
<static>
FirebugEventAdaptor.onInspectNode(node)
handles
onInspectNode event.
returns an xpath string that selects the inspected node.
- Parameters:
- node
- the node that is being inspected.
- Returns:
context_id,node
<static>
FirebugEventAdaptor.onResume()
handles
onResume event.
- Returns:
context_id
<static>
FirebugEventAdaptor.onScript(data)
Event that is generated when a new script is compiled
- Parameters:
- data
- Returns:
context_id,datascript that was created
<static>
FirebugEventAdaptor.onToggleBreakpoint()
handles
onToggleBreakpoint event.
- Returns:
context_id