Relaxing referrer restrictions should be enabled by the shield menu toggle
Categories
(Core :: Privacy: Anti-Tracking, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox100 | --- | fixed |
People
(Reporter: johannh, Assigned: timhuang)
References
(Blocks 1 open bug)
Details
(Whiteboard: [FXATPS-referrer-standard])
Attachments
(3 files)
See https://bugzilla.mozilla.org/show_bug.cgi?id=1720294#c11, we decided that to avoid breakage we should have the ETP toggle (tracking-protection permission) allow websites to relax referrer restrictions. We would probably have to cache the preferred referrer value and restore it when the user toggles the button.
Tim, can you make sure this bug is listed in the requirements doc for disallow-relaxing-referrer in Standard mode? Thanks!
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
The referrer policy could be overridden in two cases; one is the
referrer policy wasn't set, another is that the original policy was
ignored.
In order to recover the original policy if the ETP was off, we need to
store the original referrer policy so that we can recompute the referrer
policy based on that.
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
This patch implements that the referrer protection can be disabled by
the ETP toggle. When ETP is toggled off, it will stop the protection for
iframe and sub-resource loads. Also, it will stop the protection for a
loading to a site that has ETP disabled.
This patch also makes
CookieJarSettings::UpdateIsOnContentBlockingAllowList() be more
efficient when calling it multiple times.
Depends on D142248
| Assignee | ||
Comment 3•3 years ago
|
||
This patch add tests for testing ETP toggle with the disallow relaxing
referrer policies. In addition, it changes the test a little bit to
improve the testing performance.
Depends on D142249
Comment 5•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2e741cf30431
https://hg.mozilla.org/mozilla-central/rev/cf85158b21fd
https://hg.mozilla.org/mozilla-central/rev/454781280760
Description
•