B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Handle the network events coming from the remote Web Console.
   *
   * @param object aActor
   *        The NetworkEventActor grip.
   */
Handle the network events coming from the remote Web Console.
@param object aActor
The NetworkEventActor grip.
Handle the network events coming from the remote Web Console . @param object aActor The NetworkEventActor grip .
function WCF_handleNetworkEvent(aActor)
  {
    let networkInfo = {
      node: null,
      actor: aActor.actor,
      discardRequestBody: true,
      discardResponseBody: true,
      startedDateTime: aActor.startedDateTime,
      request: {
        url: aActor.url,
        method: aActor.method,
      },
      response: {},
      timings: {},
      updates: [], 
    };
    this._networkRequests[aActor.actor] = networkInfo;
    this.outputMessage(CATEGORY_NETWORK, this.logNetEvent, [aActor.actor]);
  }
function WCF_handleNetworkEvent ( aActor ) { let networkInfo = { node : null , actor : aActor . actor , discardRequestBody : true , discardResponseBody : true , startedDateTime : aActor . startedDateTime , request : { url : aActor . url , method : aActor . method , } , response : { } , timings : { } , updates : [ ] , } ; this . _networkRequests [ aActor . actor ] = networkInfo ; this . outputMessage ( CATEGORY_NETWORK , this . logNetEvent , [ aActor . actor ] ) ; }
Handle the network events coming from the remote Web Console.
Handle the network events coming from the remote Web Console .
// track the list of network event updates