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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 10 12:03:05 PDT 2024


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

--- Comment #26 from Ben Nham <nham at apple.com> ---
So reading through this bug a bit more, it sounds like the notificationclick event is firing properly, but some methods called in the notificationclick event handler are not working as intended. It sounds like some Clients and WindowClient methods resolve too early. Let's fork off new bugs on these issues to make this clearer:

1. WindowClient.matchAll resolves promise too early (279458)
2. Clients.openWindow resolves promise too early (279456)

The first bug sounds a bit like the focus bugs I linked above, in that some operation (in that case focus, in your case postMessage) was being performed on WindowClient before it was ready. It might be a very similar issue but requires some debugging.

The second bug sounds like we might just be resolving the promise too early (from cursory code inspection this seems like a reasonable first guess).

-- 
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/20240910/175fcbe8/attachment.htm>


More information about the webkit-unassigned mailing list