I’ve ported my Firefox extension to MV3, and have noticed that if the user clicks on a notification while the background script is suspended, nothing happens.
Clicking on a notification from my extension is supposed to either open an extension page in a new popup window, or open a URL in a new browser tab, depending on the ID of the notification.
This issue occurs if the user didn’t click on the notification right away, and waited a while before doing so from the Action Center on Windows, or from the sidebar on macOS that appears when clicking on the date and time on the right-hand side of the desktop menu bar.
This issue does NOT occur if the user clicked on the notification as soon as it popped up.
Is there a way to respond to delayed click events on notifications?