navorite / sessionic

A web extension to save, manage and restore sessions, windows and tabs.
GNU Affero General Public License v3.0
466 stars 17 forks source link

Export Sessions button doesn't work in Incognito Mode #47

Closed MrNgL closed 10 months ago

MrNgL commented 10 months ago

Describe the bug

When I click on the "Export Sessions" button in the Settings page it does nothing, checking the console log it says:

Uncaught (in promise) DOMException: A mutation operation was attempted on a database that did not allow mutations.

File: [options-60ffcec5.js:13:3512] if that helps

Maybe some security settings of my browser are preventing it to open or the sessions are not saved in the first place?

Reproduction

  1. Click the extension icon
  2. Click the gear icon
  3. Click the Export Sessions button

Version

1.3.5

Browser

Firefox 118.0.2 64bit

Operating System

Ubuntu 22.04.3 LTS

Severity

None

navorite commented 10 months ago

Cannot reproduce neither on Firefox Developer Edition v119, nor on Firefox v118.0.2, nor on Chrome v116.

Make sure you have the appropriate permissions for storage.

MrNgL commented 10 months ago

I see, I forgot to mention that I'm running it in incognito mode (allowed also to run on sites with restrictions), in the Permissions tab I only have "Access browser tabs". It works normally in normal mode (not private windows)

navorite commented 10 months ago

I see, I forgot to mention that I'm running it in incognito mode (allowed also to run on sites with restrictions), in the Permissions tab I only have "Access browser tabs". It works normally in normal mode (not private windows)

IndexedDB doesn't work in private windows in Firefox. As a workaround, you can open another normal window and save it / export sessions from there. This is an upstream bug, you can check it out here: https://bugzilla.mozilla.org/show_bug.cgi?id=1639542

MrNgL commented 10 months ago

I understand, thank you so much for taking the time to bring light to the issue, will definately either switch to normal or use the workaround.