retVals.setPropertyAsBool("importConfirmed", true); retVals.setPropertyAsBool("trustForSSL", checkSSL.checked); retVals.setPropertyAsBool("trustForEmail", checkEmail.checked); } /** * ondialogcancel() handler. */ function onDialogCancel() { let retVals = window.arguments[1].QueryInterface(Ci.nsIWritablePropertyBag2); retVals.setPropertyAsBool("importConfirmed", false); } window.addEventListener("load", () => onLoad()); PK