rem: doSetOKCancel(doOK, doCancel);  
context: function onLoad() {  doSetOKCancel(doOK, doCancel);  // Set checkboxes from prefs  const nsIPrefService = Components.interfaces.nsIPrefService;  gPrefService = Components.classes["@mozilla.org/preferences-service;1"].getService(nsIPrefService);  gPrefBranch = gPrefService.getBranch(null);  // 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 = gPrefBranch.getBoolPref(prefString);    } catch(e) { /* Put debug output here */ }    element.setAttribute("checked", prefValue);    // disable xul element if the pref is locked.    if (gPrefBranch.prefIsLocked(prefString)) {      element.disabled=true;    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5936aeb292ee5ffa0db2ed904fb351b438822196/pref-ciphers.js/buggy/security/manager/pki/resources/content/pref-ciphers.js