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

Update worker support for Notifications in Chromium #16249

Merged
merged 1 commit into from
May 11, 2022

Conversation

foolip
Copy link
Collaborator

@foolip foolip commented 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.

@foolip foolip requested a review from queengooborg May 11, 2022 16:45
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.
@foolip foolip force-pushed the Notification-worker-support branch from 52dc74f to e95c83c Compare May 11, 2022 16:46
@foolip foolip mentioned this pull request May 11, 2022
@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label May 11, 2022
@queengooborg queengooborg merged commit 503208a into mdn:main May 11, 2022
@foolip foolip deleted the Notification-worker-support branch May 11, 2022 21:21
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.

2 participants