- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 25 Nov 2025 08:55:40 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 25 November 2025 16:55:44 UTC
annevk created an issue (w3c/ServiceWorker#1808) Most specifications that define functional events don't seem to fire them with the arguments Service Workers prescribes. In particular _postDispatchSteps_ is often rather hand-wavy. And given that some of the arguments are optional, but none are named (see Infra), it's rather unclear how to properly do this. On top of that specifications might want to do something only after the events extension period is over, and perhaps do different things depending on whether the promise resolves or rejects. Doing this cleanly is somewhat murky at the moment. In Push API for instance we simply wait for some state to flip while in parallel: https://w3c.github.io/push-api/#dfn-fire-a-push-event This should be organized a bit better. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1808 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1808@github.com>
Received on Tuesday, 25 November 2025 16:55:44 UTC