Closed Bug 2079661 Opened 18 days ago Closed 9 days ago

Allow passive content for ContentClassifier fingerprinter feature

Categories

(Core :: Privacy: Anti-Tracking, task, P2)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: timhuang, Assigned: timhuang)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

The URLClassifier skips passive content for fingerprinter blocking and annotation. The ContentClassifier "fingerprinters" feature has no equivalent check.

To align the behavior, we need to implement skipping passive content for the fingerprinter feature.

This patch changes the fingerprinters engine to skip image and media loads
in both the cancel and the annotate pass. url-classifier's fingerprinting
features return early for passive content, so the content classifier was
blocking and annotating loads that url-classifier never touched. The request
records passiveness through ChannelClassifierUtils::IsPassiveContent rather
than its type string, which also maps imageset loads to "image".

Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Pushed by tihuang@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e59c9f94f5ef https://hg.mozilla.org/integration/autoland/rev/e208bdac3151 Skip passive content in the ContentClassifier fingerprinters engine to match url-classifier. r=emz
Status: ASSIGNED → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: