mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-28 19:16:51 +00:00
fix: Fixed site data panel reporting wrong site cert status, b=closes #11905, c=no-component
This commit is contained in:
@@ -255,7 +255,13 @@ export class nsZenSiteDataPanel {
|
||||
if (gIdentityHandler._pageExtensionPolicy) {
|
||||
this.document.l10n.setAttributes(button, "zen-site-data-security-info-extension");
|
||||
identity = "extension";
|
||||
} else if (gIdentityHandler._uriHasHost && gIdentityHandler._isSecureConnection) {
|
||||
} else if (
|
||||
gIdentityHandler._uriHasHost &&
|
||||
gIdentityHandler._isSecureConnection &&
|
||||
!gIdentityHandler._isCertUserOverridden &&
|
||||
!gIdentityHandler._isCertErrorPage &&
|
||||
!gIdentityHandler._isAboutHttpsOnlyErrorPage
|
||||
) {
|
||||
this.document.l10n.setAttributes(button, "zen-site-data-security-info-secure");
|
||||
identity = "secure";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user