Closed frei-l closed 5 months ago
I'm using Firefox as my main browser and I have never encountered this.. I can't seem to reproduce it either. I'll wait for some more people to report on this so that I can have a way to reproduce this
Found the cause. It has something to do with browser setting.
Reproduction
google.com
and save settingSolution
specify the protocol, use https://google.com
rather than 'google.com` will fix this.
Describe the bug
I only discovered that Sessionic can restore sessions after installing the extension in Chrome. In Chrome, I can save a session and then open it in a new window simply by clicking the session's name. However, this functionality does not seem to work in Firefox.
After setting up the project locally, here's what I found:
openSession
function works perfectly when usingpnpm run open:ff
.build:ff
and then install the extension in Firefox, theopenInNewWindow
function insrc/background/utils/browser.ts
consistently throws anUncaught (in promise) Error: An unexpected error occurred
.await browser.windows.create()
.newWindow=false
in theopenSession
function, it opens the session in the current window without any issues.I am not very familiar with polyfills and am unsure how to address this issue.
Reproduction
already reproduced this in windows 10
Version
1.7.1
Browser
Firefox 125.03
Operating System
Archlinux / Windows 10
Severity
Severe (2)