Closed Bug 1524916 Opened 5 years ago Closed 5 years ago

Preference to delete cookies no longer spares cookies marked "allow"

Categories

(Toolkit :: Data Sanitization, defect)

65 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1515913

People

(Reporter: brad, Unassigned)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

My setup: Firefox 65.0 for Mac

  • Content blocking: standard
  • Delete cookies and site data when firefox is closed: checked
  • Manage permissions: https://accounts.google.com ALLOW
  • History: Firefox will remember history

To reproduce:

  • Log in to google with 2FA with remember-this-computer (don't ask for 2FA again)
  • In about:preferences notice that cookies have been set for accounts.google.com
  • quit firefox
  • restart firefox
  • view cookies in about:preferences

Actual results:

  • all cookies have been deleted
  • when logging into google, 2FA is asked for again

Expected results:

  • the cookie for accounts.google.com should not be deleted
  • when starting firefox and logging in to google, 2FA should not be required, because the accounts.google.com cookie is present.
  • I expect the "delete cookies when firefox is closed" to default all cookies to be "allowed-for-session" except those that are explicitly mentioned in the "Exceptions -cookie and site data" list.
    The basic use case is: I want to delete all cookies when I quit firefox EXCEPT cookies that I specific request be retained.

This seems to be a regression from 64.0. This functionality has been working for years.

Component: Untriaged → Preferences
Keywords: regression

This seems like a dupe of bug 1515913, but I wonder, are you sure this was introduced in 64? Could it also be in 65? Otherwise, would you like to run mozregression (https://mozilla.github.io/mozregression/) to narrow down a regression range?

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Component: Preferences → Data Sanitization
Flags: needinfo?(brad)
Product: Firefox → Toolkit
Resolution: --- → DUPLICATE

(In reply to Johann Hofmann [:johannh] from comment #1)

This seems like a dupe of bug 1515913, but I wonder, are you sure this was introduced in 64? Could it also be in 65?

When I said "This seems to be a regression from 64.0." I meant exception-handling was working in 64, and the bug appeared in 65. I have confirmed that 64.0.2 properly spares cookies marked "allow" in the exception table. This matches the finding in 1515913 if I read it correctly. Apologies for the duplicate. - b

Flags: needinfo?(brad)

Workaround: downgrade firefox to version 64.0.2.

You need to log in before you can comment on or make changes to this bug.