B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Add network response headers.
   *
   * @param array aHeaders
   *        The response headers array.
   */
Add network response headers.
@param array aHeaders
The response headers array.
Add network response headers . @param array aHeaders The response headers array .
function NEA_addResponseHeaders(aHeaders)
  {
    this._response.headers = aHeaders;
    let packet = {
      from: this.actorID,
      type: "networkEventUpdate",
      updateType: "responseHeaders",
      headers: aHeaders.length,
      headersSize: this._response.headersSize,
    };
    this.conn.send(packet);
  }
function NEA_addResponseHeaders ( aHeaders ) { this . _response . headers = aHeaders ; let packet = { from : this . actorID , type : "networkEventUpdate" , updateType : "responseHeaders" , headers : aHeaders . length , headersSize : this . _response . headersSize , } ; this . conn . send ( packet ) ; }
Add network response headers.
Add network response headers .