Closed
Bug 1658578
Opened 4 years ago
Closed 3 years ago
Refine third-party API
Categories
(Core :: Privacy: Anti-Tracking, task, P2)
Core
Privacy: Anti-Tracking
Tracking
()
RESOLVED
FIXED
93 Branch
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: dimi, Assigned: pbz)
References
Details
Attachments
(1 file)
Right now, we has three different third-party APIs:
ThirdPartyUtil::IsThirdPartyFoo
, AntiTrackingUtils:ThirdPartyFoo
and nsContentUtils:IsThirdPartyWindowOrChannel
The plan is:
For ThirdPartyUtil::IsThirdPartyFoo
, it should consider the whole chain
For AntiTrackingUtils::IsThirdPartyFoo
, it should consider top-level.
For anti-tracking project, use AntiTrackingUtils::IsThirdPartyFoo
, as for other places in gecko, use ThirdPartyUtil::IsThirdPartyFoo
.
So what we need to do is:
- Make sure the behavior is sync for
channel
andwindow
forThirdPartyUtil::IsThirdPartyFoo
andAntiTrackingUtils::IsThirdPartyFoo
- Remove using
nsContentUtils:IsThirdPartyWindowOrChannel
, replace it with either ThirdPartyUtils or AntiTrackingUtils, depending on the use case (in anti-tracking project or not) - Examine the current usage of those third-party APIs, make sure we only use AntiTrackingUtils one in anti-tracking project.
Reporter | ||
Updated•4 years ago
|
Priority: -- → P3
Comment 1•3 years ago
|
||
Dimi, unassigning you because someone from our team might pick this up. Let me know if you were still working on this.
Assignee: dlee → nobody
Status: ASSIGNED → NEW
Priority: P3 → P2
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → pbz
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Attachment #9235662 -
Attachment description: WIP: Bug 1658578 - Remove nsContentUtils::IsThirdPartyWindowOrChannel. r=timhuang! → Bug 1658578 - Remove nsContentUtils::IsThirdPartyWindowOrChannel. r=timhuang!
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa071b03d212 Remove nsContentUtils::IsThirdPartyWindowOrChannel. r=timhuang
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox93:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•