rem: document.getElementById("allowDocumentCookieSet").checked); 
add: getCheckboxValue("allowDocumentCookieSet")); 
context: function doOnOk(){   if (allowWindowOpenChanged){    pref.SetBoolPref("dom.disable_open_during_load", !document.getElementById("allowWindowOpen").checked);  }  if (allowWindowMoveResizeChanged){    var myValue = document.getElementById("allowWindowMoveResize").checked;    setCapabilityPolicy("capability.policy.default.Window.resizeTo", myValue);    setCapabilityPolicy("capability.policy.default.Window.innerWidth.set", myValue);    setCapabilityPolicy("capability.policy.default.Window.innerHeight.set", myValue);    setCapabilityPolicy("capability.policy.default.Window.outerWidth.set", myValue);    setCapabilityPolicy("capability.policy.default.Window.outerHeight.set", myValue);    setCapabilityPolicy("capability.policy.default.Window.sizeToContent", myValue);    setCapabilityPolicy("capability.policy.default.Window.resizeBy", myValue);    setCapabilityPolicy("capability.policy.default.Window.screenX.set", myValue);    setCapabilityPolicy("capability.policy.default.Window.screenY.set", myValue);    setCapabilityPolicy("capability.policy.default.Window.moveTo", myValue);    setCapabilityPolicy("capability.policy.default.Window.moveBy", myValue);  }  if (allowWindowStatusChangeChanged){    setCapabilityPolicy("capability.policy.default.Window.status",       document.getElementById("allowWindowStatusChange").checked);  }    if (allowWindowFlipChanged){    setCapabilityPolicy("capability.policy.default.Window.focus",       document.getElementById("allowWindowFlip").checked);  }  if (allowDocumentCookieSetChanged){    setCapabilityPolicy("capability.policy.default.HTMLDocument.cookie.set",       document.getElementById("allowDocumentCookieSet").checked);  }    if (allowDocumentCookieGetChanged){    setCapabilityPolicy("capability.policy.default.HTMLDocument.cookie.get",       document.getElementById("allowDocumentCookieGet").checked);  }   if (allowImageSrcChangeChanged){    setCapabilityPolicy("capability.policy.default.HTMLImageElement.src",       document.getElementById("allowImageSrcChange").checked);  }}
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