Re: [w3c/push-api] Rewrite .subscribe() to fix various bugs (PR #350)

@marcoscaceres commented on this pull request.



> +            <li>If |subscription| is an error, [=queue a global task=] on the [=networking task
+            source=] using |global| to [=reject=] |promise| with an {{"AbortError"}}
+            {{DOMException}} and terminate these steps.

Sorry, to also clarify, you are right that the retrieval of the conceptual "subscription" might result in an error (basically, what happens with `getSubscription()`). 

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

Message ID: <w3c/push-api/pull/350/review/1012989663@github.com>

Received on Tuesday, 21 June 2022 05:41:37 UTC