B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Initialize the default filter preferences.
   * @private
   */
Initialize the default filter preferences.
@private
Initialize the default filter preferences . @private
function WCF__initDefaultFilterPrefs()
  {
    this.filterPrefs = {
      network: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "network"),
      networkinfo: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "networkinfo"),
      csserror: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "csserror"),
      cssparser: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "cssparser"),
      exception: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "exception"),
      jswarn: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "jswarn"),
      error: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "error"),
      info: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "info"),
      warn: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "warn"),
      log: Services.prefs.getBoolPref(FILTER_PREFS_PREFIX + "log"),
    };
  }
function WCF__initDefaultFilterPrefs ( ) { this . filterPrefs = { network : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "network" ) , networkinfo : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "networkinfo" ) , csserror : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "csserror" ) , cssparser : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "cssparser" ) , exception : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "exception" ) , jswarn : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "jswarn" ) , error : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "error" ) , info : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "info" ) , warn : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "warn" ) , log : Services . prefs . getBoolPref ( FILTER_PREFS_PREFIX + "log" ) , } ; }
Initialize the default filter preferences.
Initialize the default filter preferences .