[Webkit-unassigned] [Bug 257450] New: document.focus or window onblur not trigger util a mouse move or click user gesture happened when a url-scheme launch dialog shows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 29 02:33:14 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257450
Bug ID: 257450
Summary: document.focus or window onblur not trigger util a
mouse move or click user gesture happened when a
url-scheme launch dialog shows
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jeason.xu93 at gmail.com
When launch an url scheme on safari, safari shows a lauch dialog. This dialog should take back focus from document, but when I console "document.hasFocus()", this value still be true. Util I move my mouse, this value changes. I use "document.hasFocus()" changes when lauch a application by url scheme to detect if an application is installed or not. This works in other browser.
--
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/20230529/d4f53e8d/attachment.htm>
More information about the webkit-unassigned
mailing list