Closed Bug 1146677 Opened 11 years ago Closed 10 years ago

If user turns off mixed content blocking, they will get the grey triangle instead of the yellow one

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: tanvi, Assigned: tanvi)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I don't remember what my reasoning was for this: https://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#6837 If the state is broken and... * mixed active content is loaded -> show the yellow triangle * only mixed display content is loaded -> show the grey triangle * mixed active content is loaded BUT the user has turned off mixed content blocking -> show the grey triangle. In the third case, we should show the yellow triangle regardless of what preferences the user has chosen. Hence, we should stop checking the pref value in the if clauses.
Note that mobile does this too, but perhaps for another reason? It could be that it was reproducing desktops behavior, or maybe their is another reason that we have to check the pref before showing the different icon in mobile: http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#6880
(In reply to Tanvi Vyas [:tanvi] from comment #0) > I don't remember what my reasoning was for this You added this in bug 838359. And I think my bug 838359 comment 12 now applies. :-) IE, we added this originally because we didn't yet block mixed-content by default or have the shield UI. And so we didn't want our users to just suddenly start getting a bright yellow warning as the first step to blocked mixed content. Now we block by default with sensible UI, so it's reasonable that someone who turns that _off_ should see more visible UI.
Attachment #8583997 - Flags: review?(dolske) → review+
Thanks Justin for reminding me of the context behind this bug! Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/b709f9a5a594
Assignee: nobody → tanvi
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: