Closed Bug 1601310 Opened 4 years ago Closed 4 years ago

Add GetContentBlockingEvents IPC method for child processes to retrive content blocking event stored in the parent process

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: dlee, Assigned: dlee)

References

Details

Attachments

(1 file)

We need maintain a copy of content blocking event in docshell so a child process can access it.
The only consumer for this use case is report-site-issue, which obtains this information from docshell

This patch does the following:

  1. Add a WindowGlobalChild IPC method, GetContentBlockingEvents, for documents to
    retrieve content blocking events.
  2. Update nsIDocShell::GetHasTrackingContentBlocked to return a promise.
  3. report-site-issue uses promise-based GetHasTrackingContentBlocked
    API.
Summary: Store content blocking event in docshell → Add GetContentBlockingEvents IPC method for child processes to retrive content blocking event stored in the parent process
Attachment #9114176 - Attachment description: Bug 1601310 - Add GetContentBlockingEvents IPC method for the child process to retrive content blocking event stored in the parent process → Bug 1601310 - Add GetContentBlockingEvents IPC method for the child to retrive content blocking event in the parent. r=timHuang

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:dimi, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(dlee)
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc2f351ac0c6
Add GetContentBlockingEvents IPC method for the child to retrive content blocking event in the parent. r=timhuang,twisniewski,Ehsan
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Flags: needinfo?(dlee)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: