2

Looks like chrome.storage.local is continuing to store any data even if an extension was uninstalled. This behaviour is not observed in Chrome, only in Firefox.

Any ideas about how to fix it?

serv-inc
  • 35,772
  • 9
  • 166
  • 188
MonkeyShoulder
  • 83
  • 4
  • 12
  • 1
    Clear storage onInstalled? – Daniel Herr Aug 24 '16 at 16:11
  • Is your issue that the extension you are writing ends up having `chrome.storage.local` not be empty upon re-installation? Or, is it that you have some extension which you have installed (that you did not write) which has left content in `chrome.storage.local`? – Makyen Aug 24 '16 at 17:03
  • Hi Guys! Thanks for comments. To Daniel Herr: As I know - for current moment Firefox webextensions not supported onInstalled method(... to Makyen: first case, described by you – MonkeyShoulder Aug 25 '16 at 06:43

1 Answers1

1

This was bug 1213990, which is fixed in Firefox 51.

serv-inc
  • 35,772
  • 9
  • 166
  • 188
Andrew Swan
  • 1,268
  • 6
  • 7
  • Hi Andrew Swan. Thanks for response. Is the localStorage, described in this bug - the same with chrome.storage.local? By my information - these are different essencies.. But I can be wrong. – MonkeyShoulder Aug 25 '16 at 06:47
  • The fix for that bug addressed storage.local as well as dom storage interfaces including localStorage, indexedDB, etc. – Andrew Swan Aug 25 '16 at 17:58