Closed
Bug 1480450
Opened 6 years ago
Closed 6 years ago
Tracking Protection needs to honor the browser.contentblocking.enabled pref
Categories
(Firefox :: Protections UI, enhancement, P1)
Firefox
Protections UI
Tracking
()
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: johannh, Assigned: francois)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
browser.contentblocking.enabled (introduced in bug 1476217) is the central preference that users can use to turn off all types of content blocking: Tracking Protection, FastBlock, Third Party storage restrictions, etc.
This means Tracking Protection should honor it and not block when the pref is set to false.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → francois
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: Tracking Protection needs to honor the browser.contentblocking.enabled pref → Tracking Protection and annotations need to honor the browser.contentblocking.enabled pref
Assignee | ||
Comment 1•6 years ago
|
||
Johann, do we still need tracking annotations when content blocking is off? Are we displaying the number of trackers or something like that in the revamped UI?
Flags: needinfo?(jhofmann)
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to François Marier [:francois] from comment #1)
> Johann, do we still need tracking annotations when content blocking is off?
> Are we displaying the number of trackers or something like that in the
> revamped UI?
Looking at the spec, yes, there's still the "Blockable Content Detected on this Site" text which we need to display even when browser.contentblocking.enabled is false. So we always need tracking annotations.
Flags: needinfo?(jhofmann)
Reporter | ||
Comment 3•6 years ago
|
||
(But no, there's no display of number of trackers currently planned.) :)
Assignee | ||
Comment 4•6 years ago
|
||
Does this part of the UI need to be updated?
https://searchfox.org/mozilla-central/rev/aff5d4ad5d7fb2919d267cbc23b1d87ae3cf0110/browser/base/content/browser-trackingprotection.js#248-257
Flags: needinfo?(jhofmann)
Assignee | ||
Updated•6 years ago
|
Summary: Tracking Protection and annotations need to honor the browser.contentblocking.enabled pref → Tracking Protection needs to honor the browser.contentblocking.enabled pref
Reporter | ||
Comment 5•6 years ago
|
||
(In reply to François Marier [:francois] from comment #4)
> Does this part of the UI need to be updated?
>
> https://searchfox.org/mozilla-central/rev/
> aff5d4ad5d7fb2919d267cbc23b1d87ae3cf0110/browser/base/content/browser-
> trackingprotection.js#248-257
No, UI updates for FastBlock are covered by bug 1476218. :)
Flags: needinfo?(jhofmann)
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
There are no actual changes/additions to these tests.
Depends on D3130
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D3131
Comment 9•6 years ago
|
||
Comment on attachment 8999292 [details]
Bug 1480450 - Use correct resource url for chrome test. r=dimi!
Dimi Lee[:dimi][:dlee] has approved the revision.
Attachment #8999292 -
Flags: review+
Comment 10•6 years ago
|
||
Comment on attachment 8999293 [details]
Bug 1480450 - Move TP tests to using async/await and promises. r=dimi!
Dimi Lee[:dimi][:dlee] has approved the revision.
Attachment #8999293 -
Flags: review+
Comment 11•6 years ago
|
||
Comment on attachment 8999294 [details]
Bug 1480450 - Honor browser.contentblocking.enabled in tracking protection. r=dimi!
Dimi Lee[:dimi][:dlee] has approved the revision.
Attachment #8999294 -
Flags: review+
Comment 12•6 years ago
|
||
Pushed by fmarier@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bb02d7d281cb
Use correct resource url for chrome test. r=dimi!
Comment 13•6 years ago
|
||
Pushed by fmarier@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf5e3a3105dc
Move TP tests to using async/await and promises. r=dimi!
Comment 14•6 years ago
|
||
Pushed by fmarier@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34d3b10c54eb
Honor browser.contentblocking.enabled in tracking protection. r=dimi!
Comment 15•6 years ago
|
||
Backed out 1 changesets (bug 1480450) for mochitest/test_trackingprotection_bug1157081.html failures
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=34d3b10c54ebd19d277f23684fb651688c0ef68c&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-classifiedState=unclassified
failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-classifiedState=unclassified&fromchange=6c752dc707f5bc5557bc558d8737c143c658727c&selectedJob=193708298&filter-searchStr=Linux+x64+opt+Mochitests+test-linux64%2Fopt-mochitest-chrome-3+M%28c3%29
https://treeherder.mozilla.org/logviewer.html#?job_id=193708298&repo=autoland
backout: https://hg.mozilla.org/integration/autoland/rev/3049a5cc847bf692e3f1d9e69837d1b03c918a8f
Flags: needinfo?(francois)
Comment 16•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee | ||
Comment 17•6 years ago
|
||
Reopening since this got partially backed out (see comment 14).
Status: RESOLVED → REOPENED
Flags: needinfo?(francois)
Resolution: FIXED → ---
Assignee | ||
Updated•6 years ago
|
status-firefox63:
fixed → ---
Comment 18•6 years ago
|
||
Pushed by fmarier@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd55c4ac10c3
Honor browser.contentblocking.enabled in tracking protection. r=dimi!
Comment 19•6 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Assignee | ||
Comment 20•6 years ago
|
||
Things got a bit messy with partial backout and the lost middle patch, but in the end, all three patches got merged onto central:
https://hg.mozilla.org/mozilla-central/rev/bb02d7d281cb (comment 12)
https://hg.mozilla.org/mozilla-central/rev/cf5e3a3105dc (comment 13)
https://hg.mozilla.org/mozilla-central/rev/cd55c4ac10c3 (comment 18)
You need to log in
before you can comment on or make changes to this bug.
Description
•