Open
Bug 1606167
Opened 6 years ago
Updated 3 years ago
Add test to check tracking protection lists are loaded in Firefox
Categories
(Core :: Privacy: Anti-Tracking, task, P3)
Core
Privacy: Anti-Tracking
Tracking
()
NEW
People
(Reporter: sykim, Unassigned)
References
Details
Currently there are no automated testing to make sure that the tracking protection files are/can be used by the browser and could help catch issues mentioned in Bug 1605652. Can we create a test using the about:url-classifier's search functionality to check that certain test domains (see GitHub PR for more detail) are found in each of the tracking protection list files downloaded?
Currently the tracking protection list files that are downloaded are:
base-track-digest256
mozstd-trackwhite-digest256
content-track-digest256
mozplugin-block-digest256
mozplugin2-block-digest256
block-flash-digest256
except-flash-digest256
allow-flashallow-digest256
except-flashallow-digest256
block-flashsubdoc-digest256
except-flashsubdoc-digest256
ads-track-digest256
social-track-digest256
analytics-track-digest256
base-fingerprinting-track-digest256
content-fingerprinting-track-digest256
base-cryptomining-track-digest256
content-cryptomining-track-digest256
fanboyannoyance-ads-digest256
fanboysocial-ads-digest256
easylist-ads-digest256
easyprivacy-ads-digest256
adguard-ads-digest256
social-tracking-protection-digest256
social-tracking-protection-facebook-digest256
social-tracking-protection-linkedin-digest256
social-tracking-protection-twitter-digest256
Manual test to check that the domain is blocked via blocklist:
- Go to
about:url-classifier - To get the latest changes to tracking protection lists, click "Trigger Update" button in the "Mozilla" row in the table "Provider"
- In the "Search" table, enter url formatted like
https://<name of the tracking list file>.dummytracker.org/test_not_blocked.pnge.g.https://base-fingerprinting-track-digest256.dummytracker.org/test_not_blocked.png - Check that the url is listed under the proper "Features" on the results e.g. for fingerprinting lists used on step 3, the url should be matched in features "fingerprinting-protection" and "fingerprinting-annotation"
Manual test to check that the domain is unblocked via entity list:
- Go to
about:url-classifier - To get the latest changes to tracking protection lists, click "Trigger Update" button in the "Mozilla" row in the table "Provider"
- In the "Search" table, change the "List type" from "Blacklist" to "Whitelist"
- Enter url formatted like
https://firstparty.com?resource=thirdparty.come.g.https://google.com/?resource=blogger.com - Check that the url is listed under the proper "Features" on the results e.g. for Google domain used on step 4, the url should be matched in features with categories: fingerprinting, cryptomining, socialtracking, tracking
| Reporter | ||
Updated•6 years ago
|
Summary: Add test that tracking protection lists are loaded in Firefox → Add test to check tracking protection lists are loaded in Firefox
Updated•6 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•