aecreations / readnext

Read Next: an extension for Mozilla Firefox
Other
4 stars 1 forks source link

What's New page doesn't open when clicking the post-upgrade notification #79

Closed aecreations closed 4 months ago

aecreations commented 11 months ago

Read Next 1.1.1 on Firefox 115.0.3

Clicking the post-upgrade notification won't show the What's New page. This occurs if the What's New page is not already open.

There is no error in the developer tools console for the extension, but an error appears in the browser console:

Error: Could not establish connection. Receiving end does not exist.
[background.js:1000:44]
aecreations commented 11 months ago

This issue doesn't occur if the reading list sidebar or the extension preferences page was open at the time the notification is clicked.

The notion of not having a "receiving end" to a WebExtension message sent from the background script seems to apply if none of the extension UI is open to receive the message, even if they don't actually handle it.