B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Handler for network events. This method is invoked when a new network event
   * is about to be recorded.
   *
   * @see NetworkEventActor
   * @see NetworkMonitor from WebConsoleUtils.jsm
   *
   * @param object aEvent
   *        The initial network request event information.
   * @return object
   *         A new NetworkEventActor is returned. This is used for tracking the
   *         network request and response.
   */
Handler for network events. This method is invoked when a new network event
is about to be recorded.



@param object aEvent
The initial network request event information.
@return object
A new NetworkEventActor is returned. This is used for tracking the
network request and response.
Handler for network events . This method is invoked when a new network event is about to be recorded . @param object aEvent The initial network request event information . @return object A new NetworkEventActor is returned . This is used for tracking the network request and response .
function WCA_onNetworkEvent(aEvent)
  {
    let actor = new NetworkEventActor(aEvent, this);
    this._networkEventActorsPool.addActor(actor);
    let packet = {
      from: this.actorID,
      type: "networkEvent",
      eventActor: actor.grip(),
    };
    this.conn.send(packet);
    return actor;
  }
function WCA_onNetworkEvent ( aEvent ) { let actor = new NetworkEventActor ( aEvent , this ) ; this . _networkEventActorsPool . addActor ( actor ) ; let packet = { from : this . actorID , type : "networkEvent" , eventActor : actor . grip ( ) , } ; this . conn . send ( packet ) ; return actor ; }
Handler for network events.
Handler for network events .