B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Add network response content.
   *
   * @param object aContent
   *        The response content.
   * @param boolean aDiscardedResponseBody
   *        Tells if the response content was recorded or not.
   */
Add network response content.
@param object aContent
The response content.
@param boolean aDiscardedResponseBody
Tells if the response content was recorded or not.
Add network response content . @param object aContent The response content . @param boolean aDiscardedResponseBody Tells if the response content was recorded or not .
function NEA_addResponseContent(aContent, aDiscardedResponseBody)
  {
    this._response.content = aContent;
    let packet = {
      from: this.actorID,
      type: "networkEventUpdate",
      updateType: "responseContent",
      mimeType: aContent.mimeType,
      contentSize: aContent.text.length,
      discardResponseBody: aDiscardedResponseBody,
    };
    this.conn.send(packet);
  }
function NEA_addResponseContent ( aContent , aDiscardedResponseBody ) { this . _response . content = aContent ; let packet = { from : this . actorID , type : "networkEventUpdate" , updateType : "responseContent" , mimeType : aContent . mimeType , contentSize : aContent . text . length , discardResponseBody : aDiscardedResponseBody , } ; this . conn . send ( packet ) ; }
Add network response content.
Add network response content .