Closed
Bug 1487396
Opened 7 years ago
Closed 7 years ago
Update the Control Centre to not show the shield icon unless something is really blocked
Categories
(Firefox :: Site Identity, defect, P1)
Firefox
Site Identity
Tracking
()
VERIFIED
FIXED
Firefox 64
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | unaffected |
| firefox63 | --- | verified |
| firefox64 | --- | verified |
| firefox65 | --- | verified |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Whiteboard: [privacy-panel-64])
Attachments
(6 files)
|
46 bytes,
text/x-phabricator-request
|
baku
:
review+
pascalc
:
approval-mozilla-beta+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
johannh
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
johannh
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
johannh
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
johannh
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
johannh
:
review+
|
Details | Review |
No description provided.
Comment 1•7 years ago
|
||
Check STATE_BLOCKED_TRACKING_COOKIES and STATE_COOKIES_BLOCKED_FOREIGN. Plus the FastBlock and TP notifications.
| Assignee | ||
Comment 2•7 years ago
|
||
(In reply to Tanvi Vyas[:tanvi] from comment #1)
> Check STATE_BLOCKED_TRACKING_COOKIES and STATE_COOKIES_BLOCKED_FOREIGN.
> Plus the FastBlock and TP notifications.
Yep, that is the plan...
Updated•7 years ago
|
Priority: -- → P2
Comment 3•7 years ago
|
||
We want this in 64 and very likely in 63.
Comment 4•7 years ago
|
||
Ehsan, it seems like you're already assigned. Let me know if you want me to take this one, otherwise I'm happy to review.
| Assignee | ||
Comment 5•7 years ago
|
||
| Assignee | ||
Comment 6•7 years ago
|
||
Depends on D4809
| Assignee | ||
Comment 7•7 years ago
|
||
I will submit a patch with more tests later, perhaps in bug 1485318 or here in some form...
| Assignee | ||
Comment 8•7 years ago
|
||
Depends on D4810
| Assignee | ||
Comment 9•7 years ago
|
||
Depends on D4814
| Assignee | ||
Comment 10•7 years ago
|
||
Depends on D4815
Comment 11•7 years ago
|
||
Thanks for writing these tests, I assume this replaces bug 1485318?
| Assignee | ||
Comment 12•7 years ago
|
||
Yes, I think so, there is really no more useful tests to add there which I can think of...
| Assignee | ||
Comment 14•7 years ago
|
||
review ping? This needs to land ASAP.
Flags: needinfo?(jhofmann)
Flags: needinfo?(amarchesini)
Comment 15•7 years ago
|
||
Comment on attachment 9005777 [details]
Bug 1487396 - Part 1: Enable the secure browser UI object to keep track of the newly added content blocking states for each document; r=baku
Andrea Marchesini [:baku] has approved the revision.
Attachment #9005777 -
Flags: review+
| Assignee | ||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment on attachment 9005778 [details]
Bug 1487396 - Part 2: Only show the shield icon when something gets blocked through Content Blocking; r=johannh
Johann Hofmann [:johannh] has approved the revision.
Attachment #9005778 -
Flags: review+
Comment 18•7 years ago
|
||
Comment on attachment 9005785 [details]
Bug 1487396 - Part 3: Test that before enabling tracking protection, the shield doesn't show up unless tracking elements are blocked; r=johannh
Johann Hofmann [:johannh] has approved the revision.
Attachment #9005785 -
Flags: review+
Comment 19•7 years ago
|
||
Comment on attachment 9005786 [details]
Bug 1487396 - Part 4: Test that when fastblock is enabled, the shield only shows up when tracking elements are blocked; r=johannh
Johann Hofmann [:johannh] has approved the revision.
Attachment #9005786 -
Flags: review+
Comment 20•7 years ago
|
||
Comment on attachment 9005787 [details]
Bug 1487396 - Part 5: Test that when third-party cookie blocking is enabled, the shield only shows up when tracking elements are blocked; r=johannh
Johann Hofmann [:johannh] has approved the revision.
Attachment #9005787 -
Flags: review+
Comment 21•7 years ago
|
||
Comment on attachment 9006290 [details]
Bug 1487396 - Part 6: Turn the FastBlock pref off during the test runs where we were previously relying on it being off by default; r=johannh
Johann Hofmann [:johannh] has approved the revision.
Attachment #9006290 -
Flags: review+
Comment 22•7 years ago
|
||
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc2beb31a3d4
Part 1: Enable the secure browser UI object to keep track of the newly added content blocking states for each document; r=baku
https://hg.mozilla.org/integration/mozilla-inbound/rev/9dc6b07c3d65
Part 2: Only show the shield icon when something gets blocked through Content Blocking; r=johannh
https://hg.mozilla.org/integration/mozilla-inbound/rev/1936a83c2e78
Part 3: Test that before enabling tracking protection, the shield doesn't show up unless tracking elements are blocked; r=johannh
https://hg.mozilla.org/integration/mozilla-inbound/rev/1928d891a3f3
Part 4: Test that when fastblock is enabled, the shield only shows up when tracking elements are blocked; r=johannh
https://hg.mozilla.org/integration/mozilla-inbound/rev/902a3eb6c32b
Part 5: Test that when third-party cookie blocking is enabled, the shield only shows up when tracking elements are blocked; r=johannh
https://hg.mozilla.org/integration/mozilla-inbound/rev/9a4199857e74
Part 6: Turn the FastBlock pref off during the test runs where we were previously relying on it being off by default; r=johannh
Updated•7 years ago
|
Flags: needinfo?(jhofmann)
Flags: needinfo?(amarchesini)
| Assignee | ||
Comment 23•7 years ago
|
||
Comment on attachment 9005777 [details]
Bug 1487396 - Part 1: Enable the secure browser UI object to keep track of the newly added content blocking states for each document; r=baku
Approval Request Comment
[Feature/Bug causing the regression]: This is not a regression, we are changing the behavior of the shield icon in the location bar.
[User impact if declined]: Things like bug 1485827 when one of the content blocking options is enabled.
[Is this code covered by automated tests?]: Yes.
[Has the fix been verified in Nightly?]: Just landed in inbound.
[Needs manual test from QE? If yes, steps to reproduce]: No.
[List of other uplifts needed for the feature/fix]: None.
[Is the change risky?]: The first part of the patch makes changes that impact some of the behavior of the browser with its default configuration on the beta channel, but the changes are mostly keeping track of state, so should be relatively low risk. The other changes in part 1, as well as part 2 (the rest are just tests) depend on the Content Blocking UI pref which is disabled on late beta for now, so the changes will ultimately not affect the released product. That being said, because this is a major change to the behavior of the shield icon, we would like to uplift it to beta sooner than later in order to improve the user experience when using content blocking.
[Why is the change risky/not risky?]: See above.
[String changes made/needed]: None.
Attachment #9005777 -
Flags: approval-mozilla-beta?
| Assignee | ||
Comment 24•7 years ago
|
||
(BTW the approval request is for all the attached patches.)
Comment 25•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fc2beb31a3d4
https://hg.mozilla.org/mozilla-central/rev/9dc6b07c3d65
https://hg.mozilla.org/mozilla-central/rev/1936a83c2e78
https://hg.mozilla.org/mozilla-central/rev/1928d891a3f3
https://hg.mozilla.org/mozilla-central/rev/902a3eb6c32b
https://hg.mozilla.org/mozilla-central/rev/9a4199857e74
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment 26•7 years ago
|
||
Comment on attachment 9005777 [details]
Bug 1487396 - Part 1: Enable the secure browser UI object to keep track of the newly added content blocking states for each document; r=baku
Approved for 63 beta 4
Attachment #9005777 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 27•7 years ago
|
||
| bugherder uplift | ||
https://hg.mozilla.org/releases/mozilla-beta/rev/4708a27bc923
https://hg.mozilla.org/releases/mozilla-beta/rev/8210b549db51
https://hg.mozilla.org/releases/mozilla-beta/rev/cf6a191d0db8
https://hg.mozilla.org/releases/mozilla-beta/rev/b9cf19710fcb
https://hg.mozilla.org/releases/mozilla-beta/rev/ee5353b9e3c2
https://hg.mozilla.org/releases/mozilla-beta/rev/cf20d0d69e70
Updated•7 years ago
|
Flags: qe-verify+
Comment 28•7 years ago
|
||
| bugherder uplift | ||
https://hg.mozilla.org/releases/mozilla-beta/rev/6a3f605011ca
https://hg.mozilla.org/releases/mozilla-beta/rev/71ebf84e6d78
https://hg.mozilla.org/releases/mozilla-beta/rev/a58913ee3875
https://hg.mozilla.org/releases/mozilla-beta/rev/7897af38e465
https://hg.mozilla.org/releases/mozilla-beta/rev/11ce9542f2cb
https://hg.mozilla.org/releases/mozilla-beta/rev/73fc28dd555b
Comment 29•7 years ago
|
||
Checkins from comment 27 had been backed out in https://bugzilla.mozilla.org/show_bug.cgi?id=1487396 Relanded in comment 28.
Comment 30•7 years ago
|
||
Will this make it to beta 4?
Comment 31•7 years ago
|
||
Verified this issue On Nightly 65.0a1 (2018-11-02), Firefox 63.0.1 and Firefox 64.0b6, on Windows 10, Ubuntu 16.04 and Mac.
You need to log in
before you can comment on or make changes to this bug.
Description
•