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

@annevk commented on this pull request.



>              </li>
-            <li>When the request has been completed, [=queue a global task=] on the [=networking
-            task source=] using |global| to [=resolve=] |promise| with |subscription| and terminate
-            these steps.
+            <li>If |permission| is {{PermissionState/"denied"}}, [=queue a global task=] on the
+            [=user interaction task source=] using |global| to [=reject=] |promise| with a
+            {{"NotAllowedError"}} {{DOMException}} and terminate these steps.
+            </li>
+            <li>If |subscription| is non-null:
+              <ol>
+                <li>If there is an error with |subscription|, then [=queue a global task=] on the

Can you file an issue then, since I'm honestly not sure what you're trying to say? Ultimately we're trying to obtain the subscription of a subscription, perhaps via a registration (or now a scope), and that process can fail. None of that is really spelled out at the moment, but it would be good if it were.

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

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

Received on Tuesday, 9 September 2025 07:35:46 UTC