You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chrome and Firefox on Windows do not auto-close non-persistent notifications; and instead clicking the notification after tab close just opens the origin URL.
Safari and Firefox on macOS/Linux auto-close non-persistent notifications if the navigation happens away from the triggering page
We had internal argument against the second behavior; non-persistent notification may also include some crucial content that user would like to keep in the notification center. My immediate impression is that such notification should use persistent way instead, but given the browser differences, I think should discuss about the behavior here for better interop.
The text was updated successfully, but these errors were encountered:
Also nobody clears non-persistent notifications from workers 👀 (Except Firefox has no navigator.serviceWorker at all in workers)
Edit: Maybe we should get something corresponding to declarative web push so that script-triggered persistent notifications won't depend on service workers either.
What is the issue with the Notifications API Standard?
Currently the spec says: https://notifications.spec.whatwg.org/#lifetime-and-ui-integrations
The actual browser behavior is different:
We had internal argument against the second behavior; non-persistent notification may also include some crucial content that user would like to keep in the notification center. My immediate impression is that such notification should use persistent way instead, but given the browser differences, I think should discuss about the behavior here for better interop.
The text was updated successfully, but these errors were encountered: