Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi

Differential Revision: https://phabricator.services.mozilla.com/D91962
This commit is contained in:
R. Martinho Fernandes
2020-12-07 17:10:52 +00:00
parent ae003d1f8a
commit 79ef0b5391
46 changed files with 786 additions and 173 deletions

View File

@@ -525,7 +525,11 @@ var gIdentityHandler = {
}
let host = this._uri.host;
let port = this._uri.port > 0 ? this._uri.port : 443;
this._overrideService.clearValidityOverride(host, port);
this._overrideService.clearValidityOverride(
host,
port,
gBrowser.contentPrincipal.originAttributes
);
BrowserReloadSkipCache();
if (this._popupInitialized) {
PanelMultiView.hidePopup(this._identityPopup);