"Clear cookies and site data" from the address bar does not work
Categories
(Firefox for Android :: General, defect)
Tracking
()
People
(Reporter: mrs_ophelia, Assigned: jackyzy823)
References
Details
(Whiteboard: [qa-triaged])
Attachments
(3 files)
Steps to reproduce:
- Open a website and log into your account
- Tap the padlock icon in the address bar
- Tap "Clear cookies and site data" menu item
- Tap the Delete button in the dialog
- Reload the page
Actual results:
You are still logged in.
Expected results:
You should have been logged out.
This happens on all the websites I tried.
It is probably the same issue as in bug 1810374, but I had no permissions to comment on it.
It is not a duplicate of bug 1810311, as the latter is about redirection making it impossible to invoke the cookie deletion on the initial host name.
Your only option to clear the cookies for such websites is to clean everything from Settings.
This issue, OTOH, occurs even for websites that do no redirection, e.g. community.signalusers.org
My user agent is: Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/118.0 Firefox/118.0
Comment 1•2 years ago
|
||
Hi, thanks for reporting. I was not able to reproduce the issue described issue on the latest Nightly 120.0a1 (from 16.10.2023) and Firefox 118.2.0 with Google Pixel 7 PRO (Android 14) and OnePlus A3000 (Android 6)
In order to further look into the issue you're experiencing, could you please provide the following additional information:
Details regarding the Device used and Android version;
Is this bug reproducible on the latest Nightly?
Thanks!
| Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Adina Petridean from comment #1)
Details regarding the Device used and Android version;
Is this bug reproducible on the latest Nightly?
The device is Xiaomi Redmi Note 11 Pro, OTA-upgraded to MIUI Global 14.0.3 (Android 13 TP1A.220624.014).
The issue is reproducible with Firefox 118.2.0 and Firefox Nightly 120.0a1.
Comment 3•2 years ago
|
||
Thank you, mrs_ophelia, for your prompt response. Could you please provide a video with this issue?
| Reporter | ||
Comment 4•2 years ago
|
||
| Reporter | ||
Comment 5•2 years ago
|
||
The video is with a fresh install of Nightly from Oct 23, no extensions, no changes to settings other than disabling the homepage stuff (so I can "bookmark" the website and record a shorter video, without unnecessary fiddling).
If you want, I can record a video showing the aforementioned details.
Comment 6•2 years ago
|
||
I'm unable to reproduce this issue, but considering the provided video and details, I'm opening this issue as it seems to be specific to certain devices.
(In reply to Adina Petridean from comment #6)
I'm unable to reproduce this issue, but considering the provided video and details, I'm opening this issue as it seems to be specific to certain devices.
I can. On Fenix 120.1.1, I log in to addons.mozilla.org, then touch "Clear cookies and site data", then refresh the page, it is still log in. This bug not only happens on regular browsing mode, but also private browsing mode.
SUMO Forum question: https://support.mozilla.org/en-US/questions/1434145
Comment 9•2 years ago
|
||
I can reproduce this error too, on several phone models. Can a more detailed check be made on this problem?
Comment 10•2 years ago
|
||
@Tom25519, thank you! I initially tried to reproduce this issue on Facebook, Instagram, and Twitter without success. However, after testing on addons.mozilla.org, I can confirm the issue on the latest Nightly 123.0a1 from December 22, 2023, using a Motorola G9 Plus (Android 11).
| Assignee | ||
Comment 11•2 years ago
|
||
STR:
Vist https://a.setcookie.net/ and set 5 cookies by "Submit Query" with options
- Name 1_unspec , Cookie Domain: unspecified
- Name 2_base , Cookie Domain:
setcookie.net - Name 3_dotbase Cookie Domain:
.setcookie.net - Name 4_sub Cookie Domain:
a.setcookie.net - Name 5_dotsub Cookie Domain:
.a.setcookie.net
(Other options keep default)
Then click "Icon" in the address bar , click "Clear Cookies and site data" , then click "DELETE".
Refresh the page to observe the remain cookies ( 1_unspec , 4_sub , 5_dotsub)
You can do further test under https://a.b.setcookie.net
Remaining cookies: ( 1_unspec , 4_b , 5_dot_b , 6_a_b , 7_dot_a_b )
It looks like only base domain's cookie is cleared.
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
Thanks again jackyzy! The patch has been approved, but let's land it next week to avoid disruptions over the holiday weekend.
Updated the tracking flags so this doesn't get lost.
Updated•2 years ago
|
Comment 14•2 years ago
|
||
Authored by https://github.com/jackyzy823
https://github.com/mozilla-mobile/firefox-android/commit/a1caf2310768eb898166f2f8cff96f20aecef9d0
[main] Bug 1858370 - use clearDataFromBaseDomain for clearData
Updated•2 years ago
|
Comment 15•2 years ago
|
||
The patch landed in nightly and beta is affected.
:jackyzy823, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox122towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 16•2 years ago
|
||
Verified as fixed on the latest Nightly -123.0a1 from 17.01.2024 with Motorola G9 Plus (Android 11) and OnePlus A3000 (Android 6).
Comment 17•2 years ago
|
||
Description
•