B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Set the filter state for a specific toggle button.
   *
   * @param string aToggleType
   * @param boolean aState
   * @returns void
   */
Set the filter state for a specific toggle button.
@param string aToggleType
@param boolean aState
@returns void
Set the filter state for a specific toggle button . @param string aToggleType @param boolean aState @returns void
function WCF_setFilterState(aToggleType, aState)
  {
    this.filterPrefs[aToggleType] = aState;
    this.adjustVisibilityForMessageType(aToggleType, aState);
    Services.prefs.setBoolPref(FILTER_PREFS_PREFIX + aToggleType, aState);
  }
function WCF_setFilterState ( aToggleType , aState ) { this . filterPrefs [ aToggleType ] = aState ; this . adjustVisibilityForMessageType ( aToggleType , aState ) ; Services . prefs . setBoolPref ( FILTER_PREFS_PREFIX + aToggleType , aState ) ; }
Set the filter state for a specific toggle button.
Set the filter state for a specific toggle button .