rem: prefValue = gPrefs.GetBoolPref(prefString); 
add: prefValue = gPrefBranch.getBoolPref(prefString); 
context: function onLoad() {  doSetOKCancel(doOK, doCancel);  // Set checkboxes from prefs  const nsIPref = Components.interfaces.nsIPref;  gPrefs = Components.classes["@mozilla.org/preferences;1"].getService(nsIPref);  // Enumerate each checkbox on this page and set value  var prefElements = document.getElementsByAttribute("prefstring", "*");  for (var i = 0; i < prefElements.length; i++) {    var element = prefElements[i];    var prefString = element.getAttribute("prefstring");    var prefValue = false;    try {      prefValue = gPrefs.GetBoolPref(prefString);    } catch(e) { /* Put debug output here */ }    element.setAttribute("checked", prefValue);    // disable xul element if the pref is locked.    if (gPrefs.PrefIsLocked(prefString)) {      element.disabled=true;    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/20c1620040885ba8fd7aeebe4013a8d5bdc7a3a2/pref-ciphers.js/buggy/security/manager/pki/resources/content/pref-ciphers.js