WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
305846
Blur and Focus events should only be dispatched if the window is both active and focused.
https://bugs.webkit.org/show_bug.cgi?id=305846
Summary
Blur and Focus events should only be dispatched if the window is both active ...
jlee53
Reported
2026-01-20 09:01:41 PST
If a window comes into focus, the focus controller may dispatch excess events currently. We should only dispatch events when a window either becomes both focused & active or when a window transition out of being both focused and active.
Attachments
Add attachment
proposed patch, testcase, etc.
jlee53
Comment 1
2026-01-20 11:43:04 PST
<
rdar://problem/168467484
>
jlee53
Comment 2
2026-01-20 11:45:57 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56919
EWS
Comment 3
2026-07-08 10:55:12 PDT
Committed
316735@main
(742452b1b1a5): <
https://commits.webkit.org/316735@main
> Reviewed commits have been landed. Closing PR #56919 and removing active labels.
revert-bot
Comment 4
2026-07-10 16:06:11 PDT
Reopened Bugzilla. REGRESSION(
316735@main
?): [macOS] TestWebKitAPI.WKWebView.InputChangeFiresOnWindowBlur is flaky failure, tracking revert in
https://bugs.webkit.org/show_bug.cgi?id=319127
.
jlee53
Comment 5
2026-07-13 12:19:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/69287
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug