Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86566
This commit is contained in:
@@ -5820,9 +5820,7 @@ nsDocShell::OnLocationChange(nsIWebProgress* aProgress, nsIRequest* aRequest,
|
||||
// changes the current window global, but that happens before this and we
|
||||
// have a lot of tests that depend on the specific ordering of messages.
|
||||
if (!(aFlags & nsIWebProgressListener::LOCATION_CHANGE_SAME_DOCUMENT)) {
|
||||
GetBrowsingContext()
|
||||
->Canonical()
|
||||
->UpdateSecurityStateForLocationOrMixedContentChange();
|
||||
GetBrowsingContext()->Canonical()->UpdateSecurityState();
|
||||
}
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user