-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web APIs: update Notification with MDN compat data #1768
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This interface has a bunch of items marked null
that are actually true
. You can find them here: https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/notifications/notification.idl
I have incorporated Chrome and Firefox compat data from the corresponding source code, so ready to merge from my side. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I just fixed up the ordering when you have multiple versions for a browser. In that case the most relevant version should be the first element. (e.g. the unprefixed version).
Original source: mdn#1768 No evidence for the specific versions were given. The mere exposure of Notification in dedicated workers can be confirmed to be Chrome 41 with this test: https://mdn-bcd-collector.appspot.com/tests/api/Notification?exposure=Worker However, Notifications can't be created from dedicated workers in Chromium, it makes more sense to match support in service workers, which is one version later. That then matches notes and other data like api.NotificationEvent and api.ServiceWorkerRegistration.showNotification. Part of mdn#7844.
Original source: mdn#1768 No evidence for the specific versions was given. The mere exposure of Notification in dedicated workers can be confirmed to be Chrome 41 with this test: https://mdn-bcd-collector.appspot.com/tests/api/Notification?exposure=Worker However, Notifications can't be created from dedicated workers in Chromium, it makes more sense to match support in service workers, which is one version later. That then matches notes and other data like api.NotificationEvent and api.ServiceWorkerRegistration.showNotification. Part of mdn#7844.
Original source: #1768 No evidence for the specific versions was given. The mere exposure of Notification in dedicated workers can be confirmed to be Chrome 41 with this test: https://mdn-bcd-collector.appspot.com/tests/api/Notification?exposure=Worker However, Notifications can't be created from dedicated workers in Chromium, it makes more sense to match support in service workers, which is one version later. That then matches notes and other data like api.NotificationEvent and api.ServiceWorkerRegistration.showNotification. Part of #7844.
Notification