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
The Notifications API allows web pages to control the display of system notifications to the end user. These are outside the top-level browsing context viewport, so therefore can be displayed even when the user has switched tabs or moved to a different app. The API is designed to be compatible with existing notification systems, across different platforms. MDN - Notification API
While all major browser engines now support the Notification API (and related API's like Web Push, etcetera), there remain a lot of unsupported features.
Also, I know for a fact that Safari acts like it supports certain features, but they actually don't do anything. For example:
ServiceWorkerRegistration.showNotification() would return a Promise that resolves to a list, but the list would always be empty. Note: Safari 17 now behaves correctly, but previous versions did not
Notification.close() does not throw an error, but it doesn't do anything.
Beside these "no-ops", I would love to see support for actions, image, renotify, requireInteraction, silent, etcetera, in all major browsers.
I think that in order to produce a score for this feature, either we'd to automate those tests (is that tractable?) or find a way to consider manual tests.
Thank you for proposing Notifications API for inclusion in Interop 2024.
We wanted to let you know that this proposal was not selected to be part of Interop 2024. This is because we got many more proposals than we could include in this year's project. Note that individual vendors may nevertheless choose to advance work in this area during the forthcoming year. We would welcome this proposal being resubmitted again next year, if necessary.
For an overview of our process, see proposal selection. Thank you again for contributing to Interop 2024!
Description
While all major browser engines now support the Notification API (and related API's like Web Push, etcetera), there remain a lot of unsupported features.
Also, I know for a fact that Safari acts like it supports certain features, but they actually don't do anything. For example:
ServiceWorkerRegistration.showNotification()
would return a Promise that resolves to a list, but the list would always be empty. Note: Safari 17 now behaves correctly, but previous versions did notNotification.close()
does not throw an error, but it doesn't do anything.Beside these "no-ops", I would love to see support for actions, image, renotify, requireInteraction, silent, etcetera, in all major browsers.
Specification
https://notifications.spec.whatwg.org/
Open Issues
No response
Tests
https://wpt.fyi/results/notifications
Current Implementations
Standards Positions
No response
Browser bug reports
No response
Developer discussions
No response
Polls & Surveys
No response
Existing Usage
https://chromestatus.com/metrics/feature/timeline/popularity/371
Workarounds
No response
Accessibility Impact
No response
Privacy Impact
No response
Other
No response
The text was updated successfully, but these errors were encountered: