[Webkit-unassigned] [Bug 279458] New: WindowClient.matchAll resolves promise too early

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 10 11:58:58 PDT 2024


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

            Bug ID: 279458
           Summary: WindowClient.matchAll resolves promise too early
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nham at apple.com
                CC: youennf at gmail.com

Devs are reporting that WindowClient.matchAll sometimes resolves its promise too early, e.g. trying to postMessage to a matched client sometimes fails. See https://bugs.webkit.org/show_bug.cgi?id=268797 for more details.

At first glance, this sounds somewhat similar to these bugs where we were trying to focus a WindowClient early in its lifecycle:

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

In those bugs the client wasn't ready to accept the focus event so focus failed. Maybe something similar is happening with other methods you can perform on WindowClient.

-- 
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/9d3a3ec1/attachment.htm>


More information about the webkit-unassigned mailing list