Bug 966866 - Correctly update SiteIdentityPopup for MIXED_CONTENT_BLOCKED (r=margaret)

This commit is contained in:
Lucas Rocha 2014-02-07 19:21:28 +00:00
parent 605c1f0faa
commit 9c1d970cc9

View File

@ -79,7 +79,8 @@ public class SiteIdentityPopup extends ArrowPopup {
init();
}
if (mSiteIdentity.getSecurityMode() == SecurityMode.MIXED_CONTENT_LOADED) {
if (mSiteIdentity.getSecurityMode() == SecurityMode.MIXED_CONTENT_LOADED ||
mSiteIdentity.getSecurityMode() == SecurityMode.MIXED_CONTENT_BLOCKED) {
// Hide the identity data if there isn't valid site identity data.
// Set some top padding on the popup content to create a of light blue
// between the popup arrow and the mixed content notification.