B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Setter for saving of network request and response bodies.
   *
   * @param boolean aValue
   *        The new value you want to set.
   */
Setter for saving of network request and response bodies.
@param boolean aValue
The new value you want to set.
Setter for saving of network request and response bodies . @param boolean aValue The new value you want to set .
set saveRequestAndResponseBodies(aValue) {
    let newValue = !!aValue;
    let preferences = {
      "NetworkMonitor.saveRequestAndResponseBodies": newValue,
    };
    this.webConsoleClient.setPreferences(preferences, function(aResponse) {
      if (!aResponse.error) {
        this._saveRequestAndResponseBodies = newValue;
      }
    }.bind(this));
  }
set saveRequestAndResponseBodies ( aValue ) { let newValue = ! ! aValue ; let preferences = { "NetworkMonitor.saveRequestAndResponseBodies" : newValue , } ; this . webConsoleClient . setPreferences ( preferences , function ( aResponse ) { if ( ! aResponse . error ) { this . _saveRequestAndResponseBodies = newValue ; } } . bind ( this ) ) ; }
Setter for saving of network request and response bodies.
Setter for saving of network request and response bodies .