Bug 1146677 - A user disabling mixed content blocking should not affect the site identity icon or messages. r=dolske
This commit is contained in:
@@ -6837,11 +6837,9 @@ var gIdentityHandler = {
|
||||
} else if (state & nsIWebProgressListener.STATE_IS_SECURE) {
|
||||
this.setMode(this.IDENTITY_MODE_DOMAIN_VERIFIED);
|
||||
} else if (state & nsIWebProgressListener.STATE_IS_BROKEN) {
|
||||
if ((state & nsIWebProgressListener.STATE_LOADED_MIXED_ACTIVE_CONTENT) &&
|
||||
gPrefService.getBoolPref("security.mixed_content.block_active_content")) {
|
||||
if (state & nsIWebProgressListener.STATE_LOADED_MIXED_ACTIVE_CONTENT) {
|
||||
this.setMode(this.IDENTITY_MODE_MIXED_ACTIVE_LOADED);
|
||||
} else if ((state & nsIWebProgressListener.STATE_BLOCKED_MIXED_ACTIVE_CONTENT) &&
|
||||
gPrefService.getBoolPref("security.mixed_content.block_active_content")) {
|
||||
} else if (state & nsIWebProgressListener.STATE_BLOCKED_MIXED_ACTIVE_CONTENT) {
|
||||
this.setMode(this.IDENTITY_MODE_MIXED_DISPLAY_LOADED_ACTIVE_BLOCKED);
|
||||
} else {
|
||||
this.setMode(this.IDENTITY_MODE_MIXED_DISPLAY_LOADED);
|
||||
|
||||
Reference in New Issue
Block a user