Clear cache alongside cookies and site data when network.cookie.lifetimePolicy is 2
Categories
(Toolkit :: Data Sanitization, defect, P3)
Tracking
()
People
(Reporter: vlucaci, Assigned: baku)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Affected versions
- 66.0b13-build1
- 65.0.2
- 67.0a1
Affected platforms
- Windows 10x64
- Windows 7x64
- macOS 10.13
- Ubuntu 16.04x64
Steps to reproduce
- Launch FF.
- Go to about:preferences#privacy.
- Go to Cookies and Site data.
- Select the Delete cookies and site data when Firefox is closed option.
- Reach multiple cookie rich websites such as cnn, bbc, reddit, etc.
- Close FF.
- Launch FF
- Return to about:preferences#privacy.
Expected result
- The stored cookies and cache value displayed is decreased substantially.
Actual result
- The stored cookies and cache value displayed is either the same, has decreased an insignificant amount or even increased after FF restart.
Regression range
- will return with regression ASAP
Additional notes
- FF is closed via the X button(normal user shutdown)
- The list from Manage Data... is emptied completely, even though the disk size value is unchanged.
Screen cast of the issue
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Hey johannh, it looks like the storage value here comes from SiteDataManager.jsm. Are we somehow skipping a step when attempting to clear site data storage on shutdown?
Comment 2•6 years ago
|
||
Pretty sure that this is just cache not being cleared on shutdown, which I guess is expected behavior right now. Considering that it's been like this for a while and nobody has complained until now I'm inclined to leave it at that and WONTFIX/INVALID this bug. Baku, any thoughts?
Assignee | ||
Comment 3•6 years ago
|
||
I confirm that, for session only domains, we delete just cookies and DOM storages. Image and network caches are not deleted.
But SiteDataSettings deletes much more than this and the feature is called in a similar way: "Manage Cookies and Site Data" vs "Delete cookies and site data when Firefox is closed".
I prefer to be consistent with SiteDataSettings and remove all, where 'all' means:
Ci.nsIClearDataService.CLEAR_ALL_CACHES |
Ci.nsIClearDataService.CLEAR_COOKIES |
Ci.nsIClearDataService.CLEAR_DOM_STORAGES |
Ci.nsIClearDataService.CLEAR_SECURITY_SETTINGS |
Ci.nsIClearDataService.CLEAR_EME |
Ci.nsIClearDataService.CLEAR_PLUGIN_DATA
Comment 4•6 years ago
|
||
Ok, fair enough, we should probably include cache in that setting, then.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
Comment 8•6 years ago
|
||
I'm guessing this can ride the trains to 68.
Reporter | ||
Comment 9•5 years ago
|
||
Hello,
Confirming this issue as verified fixed on 68.0b6 (64-bit) 20190529145824 and 69.0a1 (20190602221035) with Win10x64, macOS 10.14 and Ubuntu 16.04x64.
Description
•