Closed Bug 1624812 Opened 5 years ago Closed 5 years ago

Don't need to pass window while notifying content blocking events

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: dimi, Assigned: dimi)

References

Details

Attachments

(3 files)

After moving content blocking log to the parent process, we store the log in the top-level WindowGlobalParent. The process that finds the top-level WindowGlobalParent is done in the parent process.

This means we don't need to find the top-level window in child processes when notifying content blocking events anymore.

After moving content blocking log to the parent process, we store the
log in the top-level WindowGlobalParent. The process that finds the
top-level WindowGlobalParent is done in the parent process.

This means we don't need to find the top-level window in child
processes when notifying content blocking events anymore.

In this patch, we removing passing window in NotifyEventInChild, which
helps the next patch to remove code that gets top-level window while
notifying content blocking events in the child.

We don't need to find the top-level window in the child because
the parent always do that while receiving content blocking events.

Depends on D68168

Priority: -- → P1
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/890232b93e92 P1. Don't need to pass a window when notifying content blocking events in child processes. r=timhuang,baku https://hg.mozilla.org/integration/autoland/rev/6af7d890f86c P2. Don't need to find the top-level window in ContentBlockingNotifier::OnDecision r=timhuang,baku
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/448b302e2fe8 Fix accidentally removed line in previous commit. r=timhuang
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: