Skip to content

Commit

Permalink
Expose pushManager on Window
Browse files Browse the repository at this point in the history
This is part of the Declarative Web Push initiative (see #360) and mainly makes sense when that is supported, although could be independently supported in theory.

This makes window.pushManager work by making push subscriptions tied to a scope rather than a service worker registration. Most often push subscriptions remain 1:1 with service worker registrations, but the scope whose serialized path is "/" is treated specially from now on and can exist independently.

This obsoletes #368.
  • Loading branch information
annevk committed Nov 19, 2024
1 parent 53fc465 commit 3ca68e1
Showing 1 changed file with 210 additions and 100 deletions.
Loading

0 comments on commit 3ca68e1

Please sign in to comment.