simple-tab-groups: STG Error on startup, all tab changes during previous session lost

Describe the bug When re-starting Firefox, an error notification pops up, and no tab changes are recorded during the session, causing the same tabs to be re-opened the next time Firefox is restarted. Additionally, the STG extension menu does not populate in the top bar.

To Reproduce Restart Firefox

Expected behavior The extension does not pop up an error notification, tab changes are recorded during session, and STG menu appears in top bar

Screenshots There’s a content-policy error preventing me from uploading a screenshot, so here’s the text of the error message. The notification cuts the entire stack trace off, and clicking the notification makes it disappear:

Error: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://extensions/content/child/ext-storage.js :: fireOnChanged :: line 145"  data: no]
resource://g...

Desktop (please complete the following information):

  • OS: Windows 10 Professional (Build 17134.228)
  • Firefox Version: 63.0a1 (2018-08-30)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

After looking around in my profile folder a bit more, I found that under storage/default/ there were a bunch of folders named moz-extension+++<extension-uuid> (and some that also had ^userContextId=<id> at the end).

After removing STG again, removing the moz-extension folders for it, and restarting. I can now re-install STG without it reverting my tabs, and restart the browser without getting an error notification. The STG menu icon also appears to the right of my tabs list again.

I think for now I’ll leave things as they are, and slowly restore my old groups over time. My best guess is that Firefox (will) move extension data to the storage/default/moz-extension+++<whatever> folders and because of the old data something was getting overwritten.