Closed Bug 1691985 Opened 4 years ago Closed 4 years ago

Simplified cookie string in about:preference disappears after changing selection

Categories

(Core :: Privacy: Anti-Tracking, defect, P1)

Firefox 86
defect

Tracking

()

VERIFIED FIXED
88 Branch
Tracking Status
firefox85 --- disabled
firefox86 --- wontfix
firefox87 --- verified
firefox88 --- verified

People

(Reporter: sbadau, Assigned: pbz)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached video 2021-02-10_17h46_57.mp4

Affected Versions:
Firefox 86 beta 8

Tested On:
Windows 7

Preconditions:
set network.cookie.cookieBehavior to 5

Steps to Reproduce:

  1. Launch Firefox
  2. In the browser console add and press enter to:

Services.prefs.getDefaultBranch("").setIntPref("network.cookie.cookieBehavior", 5);
Services.prefs.setStringPref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior5,cm,fp,stp,lvl2");
Services.prefs.setBoolPref("browser.contentblocking.state-partitioning.mvp.ui.enabled", true)

  1. Navigate to about:preferences#privacy
  2. Click on the "Custom" section and click on the cookies dropdown
  3. From the cookies dropdown, select the third option

Expected:
5 cookie options should be available in the dropdown and all 5 should remain available after selection.

Actual:
The cookie string "Cross-site cookies - include social media cookies " disappears from the dropdown once the selection is changed. Please see the screencast for more details.

Notes:

  • The issue is not reproducible on the latest Nightly 87.0a1.
  • Not sure if this issue is dFPI related bug, please remove it if this is the case.

I can reproduce this bug, also in 86 release.
On a clean profile on release if you switch from "Standard" to "Custom", the option for cookieBehavior 5 ("Cross-site cookies - includes social media cookies") doesn't show up. It will only list cookieBehavior`1-4. If you switch to "Strict" and then to "Custom", 1-5 is listed. Updating the cookie behavior in custom will then cause the cookieBehavior 5 item to be removed again.

Steven, just to confirm: Since we now enable cookieBehavior 5 in strict mode we also want to list it as an option in the cookie dropdown in "Custom" at all times, correct?

Severity: S4 → S3
Flags: needinfo?(senglehardt)
Priority: -- → P1
See Also: → 1645924
Assignee: nobody → pbz
Status: NEW → ASSIGNED
Flags: needinfo?(senglehardt)
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/886799ea9aa1 Enable cookieBehavior 5 dropdown option in custom category for beta and release channel. r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Comment on attachment 9205701 [details]
Bug 1691985 - Enable cookieBehavior 5 dropdown option in custom category for beta and release channel. r=timhuang!

Beta/Release Uplift Approval Request

  • User impact if declined: In the tracking protection settings, when switching from "Standard" to "Custom" users can't select dFPI ("Cross-site cookies - include social media cookies").
    Workaround: Switch from Standard to Strict and then to Custom.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: On Beta:
  1. go to about:preferences#privacy
  2. Switch from "Standard" to "Custom"
    The dropdown for "Cookies" in the "Custom" section should have 5 items, including "Cross-site cookies - includes social media cookies".
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): We're flipping a pref which has been enabled on Nightly for a while. Also, the pref only controls preferences UI.
  • String changes made/needed:
Attachment #9205701 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9205701 [details]
Bug 1691985 - Enable cookieBehavior 5 dropdown option in custom category for beta and release channel. r=timhuang!

approved for 87.0b6

Attachment #9205701 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

I managed to reproduce the issue using Firefox 86.0 on Windows 10.
I verified the fix using Firefox 87.0b7 and Nightly 88.0a1 using Windows 10 x64, Ubuntu 18.04 x64 and macOS 10.13. The issue is not reproducing anymore.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: