Closed Bug 1679512 Opened 5 years ago Closed 5 years ago

Stop computing the ContentBlockingAllowListPrincipal for sub-documents

Categories

(Core :: Privacy: Anti-Tracking, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: timhuang, Assigned: emz)

References

Details

Attachments

(1 file)

We compute the ContentBlockingAllowListPrincipal in the content document. We compute it for every document, but actually it is not necessary. We only use the ContentBlockingAllowListPrincipal of the top-level document. So, we can stop computing the principal for sub-documents.

Assignee: nobody → pbz
Status: NEW → ASSIGNED

We only use the contentBlockingAllowListPrincipal for excluding sites from content
blocking for top level documents. We don't need it in the content process and should
not compute it for every document.

Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d8e0785edd42 Move contentBlockingAllowListPrincipal to WindowGlobalParent. r=timhuang,nika
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: