[Webkit-unassigned] [Bug 252544] If a Home Screen Web App is backgrounded and tries to focus() a ServiceWorkerWindowClient in a notificationclick handler, the focus() promise rejects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 7 18:29:26 PST 2023


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

--- Comment #8 from Brady Eidson <beidson at apple.com> ---
(In reply to lehu from comment #7)
> It seems not relate to the focus() call. I have tried
> 
> a) use try catch to wrap the focus() call
> b) delete the focus() call totally
> 
> None of which works ��


I guarantee through direct debugging and observation that the focus call is failing.
You can wrap it and see that the promise rejects, instead of fulfills.

*BUT*, the issue causing focus() to fail very well might be causing later things to fail.

-- 
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/20230308/7f118d30/attachment.htm>


More information about the webkit-unassigned mailing list