Skip to content
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

Merged
merged 4 commits into from
Apr 26, 2018
Merged

Web APIs: update Notification with MDN compat data #1768

merged 4 commits into from
Apr 26, 2018

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Apr 10, 2018

Copy link
Contributor

@jpmedley jpmedley left a 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

@Elchi3 Elchi3 added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Apr 11, 2018
@caugner
Copy link
Contributor Author

caugner commented Apr 19, 2018

I have incorporated Chrome and Firefox compat data from the corresponding source code, so ready to merge from my side.

Copy link
Member

@Elchi3 Elchi3 left a 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).

@Elchi3 Elchi3 merged commit 2a907db into mdn:master Apr 26, 2018
foolip added a commit to foolip/browser-compat-data that referenced this pull request May 11, 2022
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.
foolip added a commit to foolip/browser-compat-data that referenced this pull request May 11, 2022
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.
queengooborg pushed a commit that referenced this pull request May 11, 2022
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants