bin/XULRunner21_0/chrome/toolkit/content/global/devtools/dbg-webconsole-actors.js
/**
   * The "setPreferences" request handler.
   *
   * @param object aRequest
   *        The request message - which preferences need to be updated.
   */
The "setPreferences" request handler.
@param object aRequest
The request message - which preferences need to be updated.
The " setPreferences " request handler . @param object aRequest The request message - which preferences need to be updated .
function WCA_onSetPreferences(aRequest)
  {
    for (let key in aRequest.preferences) {
      this._prefs[key] = aRequest.preferences[key];
    }
    return { updated: Object.keys(aRequest.preferences) };
  }
function WCA_onSetPreferences ( aRequest ) { for ( let key in aRequest . preferences ) { this . _prefs [ key ] = aRequest . preferences [ key ] ; } return { updated : Object . keys ( aRequest . preferences ) } ; }
The "setPreferences" request handler.
The " setPreferences " request handler .