Lusito / forget-me-not

Make the browser forget website data, except for the data you want to keep.
zlib License
226 stars 25 forks source link

On demand cleaning requires 2 clicks #115

Open Joel889 opened 5 years ago

Joel889 commented 5 years ago

This is regarding IndexDB: These aren't cleaned automatically (unless the browser is restarted). But they can be cleaned manually using the addon. If I click the on demand cleaning button, and then look at Firefox's storage management interface, IndexDB entries are still present. I have to click it a second time (or twice in a row), in order for IndexDB to disappear from Firefox's storage management.

All manual clean up options are selected (except passwords + protect open domains (meaning they will be deleted)).

Edit: I've edited this post to clarify that this is indexDB (not localstorage as pointed about by Lusito).

Joel889 commented 5 years ago

To clarify, two clicks are needed to fully remove all the data stored under:

\storage\default The first click removes some files in that folder, a second click is needed to remove the rest. In order to reproduce this, wait until there are 5-10 entries as there is a good chance that you'll catch the bug in action.
Lusito commented 5 years ago

Anything below the storage folder is indexedDB as far as I can tell and has nothing to do with localstorage.

Since this is a really simple call to a simple API, I think this must be a Firefox bug. I haven't been able to reproduce this so far. What do you mean by 5-10 entries? individual websites? (i.e. folders in the storage/default folder)

Joel889 commented 5 years ago

Yes, wait until there are several folders under \storage\default. While the existence of several folders by itself is probably not what is causing, it increases the likelihood of the bug occurring. Not sure if it only happens for some sites and the way they are setting indexDB or some other combination.

Also, the following addon is clearing indexDB reliably; both on demand and also on startup: https://addons.mozilla.org/en-US/firefox/addon/storagerazor/