The blocked trackers log is ignoring some tracker categories
Categories
(Firefox for Android :: Privacy, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: petru, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3])
Attachments
(2 files)
Steps to reproduce
- With the "Privacy report" enabled from Settings -> Homepage, visit the homepage and make a record of the current number of trackers blocked
- Access cnn.com, wait a few seconds after the page is fully loaded (to ensure all trackers loaded also), make a record of the tracker blocked number shown in the security panel
- Tap on CNN's "Accept all cookies" button, wait for the page to reload and a few seconds after the page is fully loaded (to ensure all trackers loaded also), make a record of the tracker blocked number shown in the security panel
- Go to home and check the trackers blocked number shown in the privacy report
Expected behavior
The privacy report numbers increase matches the total number of trackers blocked on CNN (after step 2 and 3).
Actual behavior
The privacy report numbers may be higher than the total number of trackers blocked on CNN (after step 2 and 3).
Additional information
After looking into why this might happen it seems like not all tracker categories persisted in Gecko's database are recognized when parsing the trackers blocked data from the trackers log API.
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
BLOCKED_EMAILTRACKING_CONTENT, PURGED_BOUNCETRACKER and REPLACED_FINGERPRINTING_CONTENT
are categories for which trackers are added in the tracking content database but were
previously skipped from the results returned by FetchTrackingLogUserCase.
| Assignee | ||
Comment 2•3 months ago
|
||
Previously, an origin with both content-block and cookie-block events
for the same page load would be added to both TRACKING_CONTENT and
CROSS_SITE_TRACKING_COOKIES buckets.
This would make the per-category numbers in the protection panel sum
to roughly 2× the pill total on cookie-heavy sites.
CROSS_SITE_TRACKING_COOKIES buckets. This made the per-category numbers
in the protection panel sum to roughly 2× the pill total on cookie-heavy
sites.
These changes will ensure picking a single primary category per origin
using a priority order that mirrors TrackingDBService.identifyType so
DB-classified type aligns with panel-displayed category: FINGERPRINTERS,
CRYPTOMINERS, SOCIAL_MEDIA_TRACKERS, TRACKING_CONTENT,
CROSS_SITE_TRACKING_COOKIES.
Comment 3•3 months ago
|
||
The severity field is not set for this bug.
:Gela, could you have a look please?
For more information, please visit BugBot documentation.
https://hg.mozilla.org/mozilla-central/rev/e2d8ec4dee10
https://hg.mozilla.org/mozilla-central/rev/c87c16294416
Description
•