[Webkit-unassigned] [Bug 268797] notificationclick events in serviceworkers not firing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 5 20:46:03 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=268797

--- Comment #21 from awe.media <webkit at awe.media> ---
Looking at the ServiceWorker spec it looks like the promises for Clients.matchAll() and Clients.openWindow() shouldn't resolve with a client until the client is ready to handle events (e.g. client.postMessage()).

- .matchAll() -> https://w3c.github.io/ServiceWorker/#dom-clients-matchall
- .openWindow() -> https://w3c.github.io/ServiceWorker/#dom-clients-openwindow

So no timeout should be required. If nothing else, then the .postMessage() calls should be queued.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240806/d7a5d7a4/attachment.htm>


More information about the webkit-unassigned mailing list