[FastBlock] Expose information about trackers blocked by FastBlock and Tracking Protection via internal APIs

RESOLVED FIXED in Firefox 63

Status

()

enhancement
P1
normal
RESOLVED FIXED
Last year
11 months ago

People

(Reporter: johannh, Assigned: xeonchen)

Tracking

(Blocks 1 bug)

unspecified
mozilla63
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox63 fixed)

Details

Attachments

(3 attachments)

For the FastBlock shield study (and presumably for future content blocking UI work), we need to know how many trackers are on the page and how many slow trackers were blocked by FastBlock.

This could be added e.g. to the top-level docshell associated with the request.

Due to the payload structure of the Shield study PHD I think it would be highly preferable to get this via a chrome API instead of just sending telemetry for this.
Assignee: nobody → xeonchen
Status: NEW → ASSIGNED
Component: Tracking Protection → Safe Browsing
Priority: -- → P1
Product: Firefox → Toolkit
Gary, please ni? me (or ping me/email etc) if you have any questions on how to do this...  :-)
(In reply to :Ehsan Akhgari from comment #1)
> Gary, please ni? me (or ping me/email etc) if you have any questions on how
> to do this...  :-)

Thank you Ehsan, very appreciate!
Comment on attachment 8998888 [details]
Bug 1481252 - Part 1: Report FastBlock status to docshell; r=valentin

Valentin Gosu [:valentin] has approved the revision.
Attachment #8998888 - Flags: review+
Comment on attachment 8998889 [details]
Bug 1481252 - Part 2: Report Tracking Protection status to docshell; r=valentin,francois

Valentin Gosu [:valentin] has approved the revision.
Attachment #8998889 - Flags: review+
Attachment #8998889 - Flags: feedback?(francois)
Attachment #8998886 - Attachment description: Bug 1481252 - Part 0: add tracker statistics fields to docshell; r=smaug → Bug 1481252 - Part 0: add tracker statistics fields to document; r=smaug
Comment on attachment 8998889 [details]
Bug 1481252 - Part 2: Report Tracking Protection status to docshell; r=valentin,francois

François Marier [:francois] has approved the revision.
Attachment #8998889 - Flags: review+
Attachment #8998889 - Flags: feedback?(francois)
Attachment #8998886 - Attachment description: Bug 1481252 - Part 0: add tracker statistics fields to document; r=smaug → Bug 1481252 - Part 0: add tracker statistics fields to document; r=smaug,francois
Attachment #8998889 - Attachment description: Bug 1481252 - Part 2: Report Tracking Protection status to docshell; r=valentin → Bug 1481252 - Part 2: Report Tracking Protection status to docshell; r=valentin,francois
Attachment #8998886 - Attachment description: Bug 1481252 - Part 0: add tracker statistics fields to document; r=smaug,francois → Bug 1481252 - Part 0: add tracker statistics fields to document; r=smaug
Comment on attachment 8998886 [details]
Bug 1481252 - Part 0: add tracker statistics fields to document; r=smaug

Olli Pettay [:smaug] has approved the revision.
Attachment #8998886 - Flags: review+
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/61909c98d50d
Part 0: add tracker statistics fields to document; r=smaug
Keywords: checkin-needed
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/74da82ac273d
Part 1: Report FastBlock status to docshell; r=valentin
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa640b891abd
Part 2: Report Tracking Protection status to docshell; r=valentin,francois
https://hg.mozilla.org/mozilla-central/rev/61909c98d50d
https://hg.mozilla.org/mozilla-central/rev/74da82ac273d
https://hg.mozilla.org/mozilla-central/rev/aa640b891abd
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Gary, good job! Thanks!
Summary: Expose information about trackers blocked by FastBlock and Tracking Protection via internal APIs → [FastBlock] Expose information about trackers blocked by FastBlock and Tracking Protection via internal APIs
Depends on: 1485400
You need to log in before you can comment on or make changes to this bug.