rem: else { 
add: else { defaultFontVal = gPrefWindow.getPref("string", "font.default." + languageList.value); 
context: function selectLanguage()  {    // save current state    saveState();    if( currentLanguage == languageList.value )      return; // same as before, nothing changed        currentLanguage = languageList.value;    // lazily populate the successive font lists at 100ms intervals.    // (Note: the third parameter to setTimeout() is going to be    // passed as argument to the callback function.)    window.setTimeout(lazyAppendFontNames, 100, 0);    // in the meantime, disable the menu lists    for( var i = 0; i < fontTypes.length; i++ )      {        var listElement = document.getElementById( fontTypes[i] );        listElement.setAttribute( "value", "" );        listElement.setAttribute( "label", "" );        listElement.setAttribute( "disabled", "true" );      }    // and set the font sizes    var dataObject = gPrefWindow.wsm.dataManager.pageData["chrome://browser/content/pref/pref-fonts.xul"].userData;    var langData = null;    try      {        var sizeVarVal, sizeFixedVal;        if ('languageData' in dataObject) {          langData = dataObject.languageData[currentLanguage];          sizeVarVal = langData.variableSize;          sizeFixedVal = langData.fixedSize;        }        else {                    var variableSizePref = "font.size.variable." + languageList.value;          sizeVarVal = gPrefWindow.pref.GetIntPref( variableSizePref );          var fixedSizePref = "font.size.fixed." + languageList.value;          sizeFixedVal = gPrefWindow.pref.GetIntPref( fixedSizePref );        }        variableSize.selectedItem = variableSize.getElementsByAttribute( "value", sizeVarVal )[0];        fixedSize.selectedItem = fixedSize.getElementsByAttribute( "value", sizeFixedVal )[0];      }    catch(e) { } // font size lists can simply default to the first entry    var minSizeVal = 0;    try       {        if (langData) {          minSizeVal = langData.minSize;        }        else {                  var minSizePref = "font.minimum-size." + languageList.value;          minSizeVal = gPrefWindow.pref.GetIntPref( minSizePref );        }      }    catch(e) { }    minSizeSelect( minSizeVal );  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2a34aa6a5de648793f502f11470dc607ba178964/pref-fonts.js/buggy/browser/components/prefwindow/content/pref-fonts.js