Closed Bug 1811418 Opened 2 years ago Closed 2 years ago

Bug: "clear cookies and site data..." in private window clears "wrong" data

Categories

(Toolkit :: Data Sanitization, defect)

Firefox 100
defect

Tracking

()

RESOLVED DUPLICATE of bug 1773288

People

(Reporter: vt4842, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

  • log into yahoo with your usual account details in a normal (non-private) window.
  • open a private browsing session
  • log into yahoo using your secondary (i.e. different) account
  • select "clear cookies and site data..." from the padlock icon next to the address bar
  • refresh page, notice yahoo still recognizes the private session's cookies
  • go to the normal browser window copy of yahoo, press refresh, notice you are logged out of yahoo (while still logged into your 2nd account in the private window)

Actual results:

(please see above)

Expected results:

(please see above)

[FF version 100.0.2, 32-bit]

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

Thank you for sharing that issue with us.
We are already aware of this problem, unfortunately right now the behavior is that data clearing mechanisms all target the normal browsing data. I understand that this is not expected and probably confusing.
We do not offer a way to clear PB window data without closing the window yet. So closing the window is the only workaround I can offer to you, as soon as all PB windows are closed the storages will drop the data. Ideally we would like to support data clearing for PB windows without having to close the PB window. But a good first step is probably to just not show the data clearing option in PB windows.
I linked you the bugs that already exist and cover those ideas:

Also, marking this bug as a duplicate of this one: Bug 1773288 - "Clear cookies and site data" in private mode only clears regular browsing data

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1773288
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.