rem:    if (checkboxValue){ try { pref.ClearUserPref(prefName); } catch (e) {} } else { pref.SetCharPref(prefName, "noAccess"); 
add:    if (checkboxValue){ try { parent.hPrefWindow.pref.ClearUserPref(prefName); } catch (e) {} } else { parent.hPrefWindow.setPref("string", prefName, "noAccess"); } 
context: function setCapabilityPolicy(prefName, checkboxValue){ //if checked, we allow the script to do task, so we clear the pref. //since some options are made up of multiple capability policies and users can turn  //individual ones on/off via prefs.js, it can happen that we clear a nonexistent pref  if (checkboxValue){    try {       pref.ClearUserPref(prefName);    } catch (e) {}  } else {    pref.SetCharPref(prefName, "noAccess");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/78e5631229b9b7f6ea5830e381caf24a008c8de5/pref-scripts.js/clean/suite/common/pref/pref-scripts.js