forked from mirrors/gecko-dev
Bug 1862013 - add certificate error exception dialog: remove flags left over from bug 1781104 r=nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D193604
This commit is contained in:
parent
88e585af9b
commit
fe3f96dd49
1 changed files with 0 additions and 12 deletions
|
|
@ -294,17 +294,6 @@ function addException() {
|
|||
var overrideService = Cc["@mozilla.org/security/certoverride;1"].getService(
|
||||
Ci.nsICertOverrideService
|
||||
);
|
||||
var flags = 0;
|
||||
if (gSecInfo.isUntrusted) {
|
||||
flags |= overrideService.ERROR_UNTRUSTED;
|
||||
}
|
||||
if (gSecInfo.isDomainMismatch) {
|
||||
flags |= overrideService.ERROR_MISMATCH;
|
||||
}
|
||||
if (gSecInfo.isNotValidAtThisTime) {
|
||||
flags |= overrideService.ERROR_TIME;
|
||||
}
|
||||
|
||||
var permanentCheckbox = document.getElementById("permanent");
|
||||
var shouldStorePermanently =
|
||||
permanentCheckbox.checked && !inPrivateBrowsingMode();
|
||||
|
|
@ -314,7 +303,6 @@ function addException() {
|
|||
uri.port,
|
||||
{},
|
||||
gCert,
|
||||
flags,
|
||||
!shouldStorePermanently
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue