Mirror cookieBehavior PBM pref with regular cookieBehavior pref in Strict and Custom
Categories
(Firefox :: Protections UI, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: johannh, Assigned: timhuang)
References
Details
Attachments
(7 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
When we implement a new private browsing cookieBehavior pref and turn it on by default for standard, we want to have this new pref be a mirror of the old cookieBehavior in Strict and Custom mode.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
In this patch, we add a new content blocking category cookieBeahviorPM
for the cookieBehavior pref of the private mode.
Assignee | ||
Comment 2•3 years ago
|
||
If the user has set the cookieBehavior, then we will set the user value
to the private cookieBehavior to keep the expectation of cookieBehavior
of private mode for these users.
Depends on D111001
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D111002
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D111003
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D111004
Assignee | ||
Comment 6•3 years ago
|
||
This patch modifies two tests browser_contentblocking.js and
browser_contentblocking_categories.js to test the private cookieBehavior
setting in custom mode.
Depends on D111005
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D111006
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
The patch adds a sub test in test_cookie_behavior.js to make sure the
mirroring works. Also, this modifies tests for them to work with the
cookieBehavior pref mirroring.
Depends on D111007
Updated•3 years ago
|
Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8896f5954b2e Part 1: Add new content blocking category flag for 'network.cookie.cookieBehavior.pbmode' r=pbz,johannh https://hg.mozilla.org/integration/autoland/rev/4c5fb9d17322 Part 2: Make the private cookieBehavior getter to return the regular pref if there is a user value for the regular pref. r=johannh,dimi https://hg.mozilla.org/integration/autoland/rev/5f10c1ee8861 Part 3: Set content blocking category flag for cookieBehavior for the private mode. r=pbz,johannh https://hg.mozilla.org/integration/autoland/rev/3c198747610a Part 4: Set the default of the private cookieBehavior pref if the regular cookieBehavior is altered by the policy. r=mkaply https://hg.mozilla.org/integration/autoland/rev/cb541264cf3d Part 5: Modify the tests to check the behavior of setting cookieBehavior in custom mode. r=pbz https://hg.mozilla.org/integration/autoland/rev/80d53e0de6e9 Part 6: Set the default value of 'network.cookie.cookieBehavior.pbmode' to BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN. r=pbz,johannh https://hg.mozilla.org/integration/autoland/rev/77ef8676160b Part 7: Modify tests to respect the cookieBehavior getter mirroring. r=pbz,johannh,robwu
Comment 10•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8896f5954b2e
https://hg.mozilla.org/mozilla-central/rev/4c5fb9d17322
https://hg.mozilla.org/mozilla-central/rev/5f10c1ee8861
https://hg.mozilla.org/mozilla-central/rev/3c198747610a
https://hg.mozilla.org/mozilla-central/rev/cb541264cf3d
https://hg.mozilla.org/mozilla-central/rev/80d53e0de6e9
https://hg.mozilla.org/mozilla-central/rev/77ef8676160b
Description
•