Closed
Bug 1319499
Opened 8 years ago
Closed 8 years ago
Binary cookies not deleted when clearing cache
Categories
(Focus-iOS :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
Iteration:
1.9
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
(Whiteboard: [MobileAS])
STR:
1) Go to google.com
2) Do a search
3) Erase
Cookies/org.mozilla.ios.Focus.binarycookies is left behind in the Library directory with references to google.com.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bnicholson
Status: NEW → ASSIGNED
Iteration: --- → 1.9
Whiteboard: [MobileAS]
Assignee | ||
Comment 1•8 years ago
|
||
We can clear this Cookies directory like we do with Caches.
https://github.com/mozilla-mobile/focus/commit/e8112be19bc3ddee04777b421496876455e5300d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 2•8 years ago
|
||
When I tested this, I found that HTTPCookieStorage.shared.removeCookies(since: Date.distantPast) truncates the .binarycookies file. If that is not the case then we should remove it. But I'd like some verification about what is really happening.
Assignee | ||
Comment 3•8 years ago
|
||
Already did, see this comment:
(In reply to Brian Nicholson (:bnicholson) from comment #0)
> Cookies/org.mozilla.ios.Focus.binarycookies is left behind in the Library
> directory with references to google.com.
Assignee | ||
Comment 4•8 years ago
|
||
Using a binarycookies script, here's my .binarycookies file post-Erase:
Cookie : NID=91=LMgLUk8SZjyQRhk026mphDQ8DlXa4dTJByR4xsY2qpul3IrZn0tO22FxNigeY8sITFq0-Rxfh0M6_UL6chIGvOV0jAPtoaJa5ze4Hy7J4iRhlJ3lLzeQlMi242z7wdFMDMO0p6ggmuwiyd4; domain=.google.com; path=/; expires=Thu, 25 May 2017; HttpOnly
Cookie : DV=EtGkh4_9OGcSLEWZLaMIXfQfmK0ksQI; domain=www.google.com; path=/; expires=Wed, 23 Nov 2016;
You need to log in
before you can comment on or make changes to this bug.
Description
•