When an exception is added for a site, all origins in the content blocking log are marked with cryptomining and fingerprinting
Categories
(Core :: Privacy: Anti-Tracking, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: johannh, Assigned: ehsan.akhgari)
References
Details
(Whiteboard: [anti-tracking])
Attachments
(4 files)
STR:
- Enable Cryptomining and Fingerprinting protections in about:config
- Visit https://www.netzwelt.de/
(The content blocking log should show one origin with FP) - Click "Turn Off Blocking for This Site" in the control center (add an exception)
- Look at the content blocking log for the site, you should see FP and CM codes on all entries, as far as I can tell.
Assignee | ||
Comment 1•6 years ago
|
||
Andrea, do you have cycles to take a look?
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
This is a regression originally from bug 1522210. There we added these cases: https://searchfox.org/mozilla-central/rev/4587d146681b16ff9878a6fdcba53b04f76abe1d/netwerk/url-classifier/UrlClassifierCommon.cpp#169-175. But that isn't the right thing to do, even the code that was there before was buggy, it causes every single origin visited in that function to emit an STATE_LOADED_TRACKING_CONTENT event. This is the kind of bug that you don't catch when all of the tests you have test that you have STATE_LOADED_TRACKING_CONTENT events where you expect them but not where you don't. :-(
Assignee | ||
Comment 4•6 years ago
|
||
My fixes here cause some test failures due to bug 1529728 which I have to work around. The failures are purely timing related, for example on try they can only be observed on opt builds, not on debug. They also go away locally on opt builds when you enable MOZ_LOG=nsChannelClassifier:5, which made debugging them extra fun!
Assignee | ||
Comment 5•6 years ago
|
||
https://www.netzwelt.de/ is a strange website. It will load a fingerprinting domain (sync.mathtag.com) when all of our protections are disabled, but not when we block tracking cookies!
Assignee | ||
Comment 6•6 years ago
|
||
Oops, I was wondering why Andrea hasn't reviewed my patches here yet. I realized he has a great reason. I forgot to post them. ;-)
Assignee | ||
Comment 7•6 years ago
|
||
Previously the code here used to emit the loaded events for every
resource examined by the URL Classifier Features (in other words, every
third party resource). But we only need to emit the events in cases
where without the presence of the allow-list we would have blocked the
content.
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D20874
Assignee | ||
Comment 9•6 years ago
|
||
Depends on D20875
Assignee | ||
Comment 10•6 years ago
|
||
Depends on D20876
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Backed out for mochitest failures on test_chrome_ext_trackingprotection.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/b3a4dde40f1543ca4b4579485cceadd9aefd7eca
Push link: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&selectedJob=231061099&revision=96c38e4a3d2302598a81e4928d8c9dd09b8afe08
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231061092&repo=autoland&lineNumber=3021
There were also failures on test_annotation_vs_TP.html
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231061091&repo=autoland&lineNumber=37972
Comment 13•6 years ago
|
||
Also robocop failures on testTrackingProtection
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231048169&repo=autoland&lineNumber=1565
Comment 14•6 years ago
|
||
Also bc failures on browser_contentBlocking.js
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231054701&repo=autoland&lineNumber=23887
Assignee | ||
Comment 15•6 years ago
|
||
Oops, I had a typo which caused all of the bustage.
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
bugherder |
Description
•