[w3c/push-api] Resolve subscribe() with an object for the existing push subscription (PR #432)

The existing-subscription branch reads an internal push subscription record and resolves with it directly. Resolve with the corresponding PushSubscription interface object as the new-subscription branch and getSubscription() already do.

Translations: [Chinese](https://htmlspecs.com/push-api/) · [Japanese](https://jp.htmlspecs.com/push-api/) · [Korean](https://ko.htmlspecs.com/push-api/)


<!--
    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.w3.org/JinDX/push-api/pull/432.html" title="Last updated on Nov 11, 2026, 12:50 AM UTC (1ed8149)">Preview</a> | <a href="https://pr-preview.w3.org/w3c/push-api/432/692ab06...JinDX:1ed8149.html" title="Last updated on Nov 11, 2026, 12:50 AM UTC (1ed8149)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Resolve subscribe() with an object for the existing push subscription

-- File Changes --

    M index.html (3)

-- Patch Links --

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

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

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

Received on Wednesday, 11 November 2026 00:51:00 UTC