Closed Bug 2068757 Opened 2 months ago Closed 2 months ago

"Clear cookies and site data on exit" also clears Exception / Allow lists

Categories

(Toolkit :: Data Sanitization, defect)

Firefox 155
defect

Tracking

()

RESOLVED DUPLICATE of bug 2065902

People

(Reporter: postmaster, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

  1. In the Settings, go to Privacy & Security and scroll down to Browsing data
  2. Click Manage exceptions and add, say, https://bugzilla.mozilla.org/
  3. Check the Clear site data and cookies on exit box
  4. Open https://bugzilla.mozilla.org/ and log in
  5. Close and reopen Firefox

Actual results:

All cookies are gone, though https://bugzilla.mozilla.org/ was in the allow list

Expected results:

Cookies from the allow list should have remained.
That was the behaviour up until "recently".

The Bugbug bot thinks this bug should belong to the 'Toolkit::Data Sanitization' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Data Sanitization
Product: Firefox → Toolkit
Keywords: regression
Regressed by: 1767271

:emz, since you are the author of the regressor, bug 1767271, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emz)

see emz's pic and subsequent comment (pasted below) here https://bugzilla.mozilla.org/show_bug.cgi?id=2065902#c12

clearing cookies and site data exceptions USED to be under "Browsing data" (in FF153 or lower). In FF154+ this is should only be used to allow or block cookie access for websites.

In FF154+ a migration will run once to copy those existing exceptions to a new location - that location is under "History" (see emz's pic)

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 2065902
Resolution: --- → DUPLICATE

Thanks Thorin! We should have communicated this change better. Quite a few folks are confused.

Flags: needinfo?(emz)
Attached image mockup.png —

Yeah, it's all a bit orthogonal - what's sanitized is under history, but exceptions are specifically for browsing data. Here's my 2 cents - the current FF155 browsing data>manage exceptions (which are cookie permissions) is sammiched between three clear.. items, which isn't ideal

Move permissions up under data usage and away from any mention of clearing

Move sanitizing exceptions under the checkbox because the exceptions are specifically only cookies/sitedata (and not other items in browsing data such as cache, form info). Note that manual sanitizing doesn't respect exceptions [1], hence keeping it away from :fire: Clear browsing data

That make 3 clear (pun intended) Browsing data sub-sections

  • usage + permissions to use
  • clearing
  • sanitizing on close

What do you think? IANAE on design or UX, but you wouldn't even need any more translations/code, just move the items around: ni emz (sorry for the noise)

[1] see Bug 1769327 - that was for cpd (ctrl-alt-del etc), and it's been a while so not 100% sure the UI for Clear browsing data respects exceptions

Flags: needinfo?(emz)

First and foremost, thanks everyone for your constructive comments and explanations.

I can confirm: using the "clear on exit" from the history section (with exceptions there) and unchecking "clear on exit" from the cookies section works exactly as expected.

With this in mind, indeed some UI alignment could be helpful:

  • The "clear on exit" in the cookies section seems superflous, it could be removed
  • The naming of the "clear on exit" button in history could be more specific so people naturally understand what else it can clear on exit (not "just" history)
    => That's linked to a greater question: the clearing of current cookies and cache can also be done via the history section.

I have my solution, so having my bug as "RESOLVED" is perfect. Looking forward to UI improvements of course, though I believe only few use their browsers this way (i.e., "browse unlimited" but then delete all cookies and storage except for the few sites to be always kept).

Flags: needinfo?(emz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: