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

PushManager/PushSubscription requires a service worker registration #501

Open
queengooborg opened this issue Jun 26, 2023 · 0 comments
Open

Comments

@queengooborg
Copy link
Member

Both the PushManager and PushSubscription API require a service worker registration, as most of the properties are not available on them. However, to do so, we either a) need to register a new service worker in that moment, or b) use the existing service worker registration when running service worker-scoped tests, and overhaul the code to run service workers first and make sure we always load a service worker if we're able to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant