rem: cnt = prefs.GetIntPref(autoupdateErrCntString); txt = prefs.GetCharPref(autoupdateErrDetailString); 
add: cnt = prefBranch.getIntPref(autoupdateErrCntString); txt = prefBranch.getCharPref(autoupdateErrDetailString); 
context: function initializeSelection(){  var menuItemNode;  var hasAdvertisedURL = false;  var hasNextUpdate = true;  var lastFetchMenuNode;  var advertisedMenuNode;    try {    var isEnabled = prefs.GetBoolPref(autoupdateEnabledString);    enabledCheckBox.checked = isEnabled;  } catch(exception){    enabledCheckBox.checked = false;  }  //Always the last fetch url, for now.  var URLDisplayed = document.getElementById("urlName");   URLDisplayed.value = crl.lastFetchURL;    //Decide how many update timing types to be shown  //If no next update specified, hide the first choice. Default shows both  if(crl.nextUpdateLocale == null || crl.nextUpdateLocale.length == 0) {    timeBasedRadio.disabled = true;    hasNextUpdate = false;  }    //Set up the initial selections based on defaults and prefs, if any  try{    var timingPref = prefs.GetIntPref(autoupdateTimeTypeString);    if(timingPref != null) {      if(timingPref == crlManager.TYPE_AUTOUPDATE_TIME_BASED) {        if(hasNextUpdate){          updateTypeRadio.selectedItem = timeBasedRadio;        }      } else {        updateTypeRadio.selectedItem = freqBasedRadio;      }    } else {      if(hasNextUpdate){        updateTypeRadio.selectedItem = timeBasedRadio;      } else {        updateTypeRadio.selectedItem = freqBasedRadio;      }    }      }catch(exception){    if(!hasNextUpdate) {      updateTypeRadio.selectedItem = freqBasedRadio;    } else {      updateTypeRadio.selectedItem = timeBasedRadio;    }  }  updateSelectedTimingControls();  //Now, retrieving the day count  var timeBasedBox = document.getElementById("nextUpdateDay");  try {    var dayCnt = prefs.GetCharPref(autoupdateDayCntString);    //alert(dayCnt);    if(dayCnt != null){      timeBasedBox.value = dayCnt;    } else {      timeBasedBox.value = 1;     }  } catch(exception) {    timeBasedBox.value = 1;  }  var freqBasedBox = document.getElementById("nextUpdateFreq");  try {    var freqCnt = prefs.GetCharPref(autoupdateFreqCntString);    //alert(freqCnt);    if(freqCnt != null){      freqBasedBox.value = freqCnt;    } else {      freqBasedBox.value = 1;     }  } catch(exception) {    freqBasedBox.value = 1;  }  var errorCountText = document.getElementById("FailureCnt");  var errorDetailsText = document.getElementById("FailureDetails");  var cnt = 0;  var text;  try{    cnt = prefs.GetIntPref(autoupdateErrCntString);    txt = prefs.GetCharPref(autoupdateErrDetailString);  }catch(exception){}  if( cnt > 0 ){    errorCountText.setAttribute("value",cnt);    errorDetailsText.setAttribute("value",txt);  } else {    errorCountText.setAttribute("value",bundle.GetStringFromName("NoUpdateFailure"));    var reasonBox = document.getElementById("reasonbox");    reasonBox.hidden = true;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/20c1620040885ba8fd7aeebe4013a8d5bdc7a3a2/pref-crlupdate.js/clean/security/manager/pki/resources/content/pref-crlupdate.js