Closed Bug 1662362 Opened 5 years ago Closed 5 years ago

Record STATE_UNBLOCKED_UNSAFE_CONTENT event to content blocking log when unblock API of URL Classifier is called

Categories

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

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: dimi, Assigned: dimi)

References

Details

Attachments

(2 files)

No description provided.
Summary: Add an unblock event to content blocking log when unblock API is called → Record STATE_UNBLOCKED_UNSAFE_CONTENT event to content blocking log when unblock API of URL Classifier is called

Hi Tim,
Can you help take this over? thanks!

Flags: needinfo?(tihuang)

The solution in this patch somewhat works, but one thing that is unsolved is that the compounded state will not allow for a consumer to check if a resource was blocked by a specific category of content blocking via this channel unblocking path, without looking at the full content blocking log.

This flaw is a commonly occurring theme due to the way content blocking state is designed. I'm not sure if there's a better way to do this at the moment. We already have some bugs where a category is shown as "blocked" when there's actually nothing in that category present in the content blocking log due to making inferences like this.

Flags: needinfo?(tihuang)
Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ae204986ebc Record STATE_UNBLOCKED_UNSAFE_CONTENT event to content blocking log when unblock API of URL Classifier is called r=nhnt11,timhuang https://hg.mozilla.org/integration/autoland/rev/bb98f4ba93ed Treat shimmed resources as blocked in protections panel category subviews. r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: