Closed Bug 1269159 Opened 9 years ago Closed 4 years ago

Clearing cookies on shutdown can fail

Categories

(Firefox for Android Graveyard :: Settings and Preferences, defect)

Firefox 66
All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: LotharGlorius, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20160414065514 Steps to reproduce: go to settings -> clear private data on exit check all boxes go to www.google.de and search something exit browser reopen browser Actual results: Et voilà, search terms still there Expected results: everything erased
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
I don't think this is covered by 1266594. I was talking about version 46, not a nightly. The problem exists for some longer, it did not just appear in the last days. Additionally, my issue is not about clearing browser history, which works well, but about google search history, which I suppose has to do with cookies.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
OS: Unspecified → Android
This is a clear duplicate. We don't keep different bugs open for different versions.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → DUPLICATE
WTF? What has 1268753 to do with this?
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
@Lothar, He probably typed it wrong, but the message is we believe this is a dup of bug 1266594. I agree the problem you see here may have existed longer than we realized there at first. See specifically the below re: "Sanitize:ClearHistory" messages https://bugzilla.mozilla.org/show_bug.cgi?id=1266594#c8
This is still an issue in 54.0
Version: 46 Branch → 54 Branch
i can confirm the issue. fennec 54.0 locale te i have enabled "search history" in clear private data on exit settings. followed steps given by reporter.
As far as I can tell, the call to remove all cookies is actually async (https://dxr.mozilla.org/mozilla-central/rev/cc903e3f61894e60c3b0efaf05e9a446d1d85888/netwerk/cookie/nsCookieService.cpp#2349), so the call to Services.cookies.removeAll() (https://dxr.mozilla.org/mozilla-central/rev/cc903e3f61894e60c3b0efaf05e9a446d1d85888/mobile/android/modules/Sanitizer.jsm#87) will return before we have actually finished clearing the cookies from our database, which turns this into a race between shutdown and the cookie clearing.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: Unspecified → All
Summary: Clear private data on exit is incomplete → Clearing cookies on shutdown can fail
Component: General → Settings and Preferences
Version: 54 Branch → 55 Branch
This bug is present on current version of Firefox mobile, version 56 and easily reproducible: Washington Post limits you to reading a few free articles and they know how many you've read based on private data info. Manually clearing this data resets this count. Setting QUIT to automatically do it does NOT reset this count even if Quit is set to do the same thing, same options as manually clearing private data. This bug has been there for a long time now.
Version: 55 Branch → 56 Branch
This bug is very much stll present even on the landmark release Firefox 57...

Bug still present on Fennec (Firefox 64.0.2). Exactly as described: "clear data on exit" does not delete cookies, only manually intervention does it. That's quite serious IMHO.

Version: 56 Branch → Firefox 66

I still sometimes can see my Google search history, although all private data should have been deleted on shutdown.

We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 8 years ago4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.