I have made a firefox extension and i store the preferences/settings for the extension in localStorage and many users have complained that their preferences/settings gets deleted when they clear their browser cookie.
So this made me wonder if localStorage is any how related to cookies in firefox?
From Mozilla DOM Storage Guide:
DOM Storage can be cleared via "Tools -> Clear Recent History -> Cookies" when Time range is "Everything" (via nsICookieManager::removeAll)
DOM Storage is not cleared via Tools -> Options -> Advanced -> Network -> Offline data -> Clear Now.
Doesn't show up in the "Tools -> Options -> Advanced -> Network -> Offline data" list, unless the site also uses the offline cache. If the site does appear in that list, its DOM storage data is removed along with the offline cache when clicking the Remove button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With