B2G/gecko/toolkit/mozapps/extensions/XPIProvider.jsm
/**
   * Gets a complex preference.
   *
   * @param  aName
   *         The name of the preference
   * @param  aType
   *         The interface type of the preference
   * @param  aDefaultValue
   *         A value to return if the preference does not exist
   * @return the value of the preference or aDefaultValue if there is none
   */
Gets a complex preference.
@param  aName
The name of the preference
@param  aType
The interface type of the preference
@param  aDefaultValue
A value to return if the preference does not exist
@return the value of the preference or aDefaultValue if there is none
Gets a complex preference . @param aName The name of the preference @param aType The interface type of the preference @param aDefaultValue A value to return if the preference does not exist @return the value of the preference or aDefaultValue if there is none
function Prefs_getComplexValue(aName, aType, aDefaultValue) {
    try {
      return Services.prefs.getComplexValue(aName, aType).data;
    }
    catch (e) {
    }
    return aDefaultValue;
  }
function Prefs_getComplexValue ( aName , aType , aDefaultValue ) { try { return Services . prefs . getComplexValue ( aName , aType ) . data ; } catch ( e ) { } return aDefaultValue ; }
Gets a complex preference.
Gets a complex preference .