Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers
Categories
(Core :: Privacy: Anti-Tracking, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
It would be nice to add a couple of prefs that would allow us to control the default referrer policy that is applied to trackers so that we can explore imposing limitations there. This patch adds the required capability but doesn't change the current behaviour.
Assignee | ||
Comment 1•6 years ago
|
||
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet. So we would need to re-evaluate this decision after that
information becomes available. For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D20901
Assignee | ||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bde30e08a003
https://hg.mozilla.org/mozilla-central/rev/6b2a08035ed5
Description
•