[w3c/push-api] Expose pushManager on Window (PR #393)

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.

The following tasks have been completed:

 * [ ] Modified Web platform tests (link to pull request)

Implementer support:
 
 * [ ] Chromium 
 * [ ] Gecko
 * [x] WebKit


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/push-api/pull/393.html" title="Last updated on Nov 19, 2024, 12:28 PM UTC (6e463a7)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/push-api/393/53fc465...6e463a7.html" title="Last updated on Nov 19, 2024, 12:28 PM UTC (6e463a7)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/push-api/pull/393

-- Commit Summary --

  * Expose pushManager on Window
  * Update index.html

-- File Changes --

    M index.html (310)

-- Patch Links --

https://github.com/w3c/push-api/pull/393.patch
https://github.com/w3c/push-api/pull/393.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/393
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/pull/393@github.com>

Received on Tuesday, 19 November 2024 12:31:59 UTC