[w3c/push-api] Add Declarative Web Push (PR #385)

This introduces a new feature whereby push messages conforming to a certain JSON format directly create an end user notification and show it (possibly preceded by a new pushnotification event).

In addition to showing a notification, the app badge can be updated as well.

This builds on https://github.com/whatwg/notifications/pull/213 which adds URL members to notifications.

Exposing PushManager outside of service workers will be done in a separate change.

---

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/385.html" title="Last updated on Aug 26, 2024, 12:59 PM UTC (05e040f)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/push-api/385/019c701...05e040f.html" title="Last updated on Aug 26, 2024, 12:59 PM UTC (05e040f)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add Declarative Web Push

-- File Changes --

    M index.html (425)

-- Patch Links --

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

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

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

Received on Monday, 26 August 2024 13:00:08 UTC