Bug 305846
| Summary: | Blur and Focus events should only be dispatched if the window is both active and focused. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | jlee53 |
| Component: | New Bugs | Assignee: | jlee53 |
| Status: | REOPENED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 319127 | ||
| Bug Blocks: | |||
jlee53
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
<rdar://problem/168467484>
jlee53
Pull request: https://github.com/WebKit/WebKit/pull/56919
EWS
Committed 316735@main (742452b1b1a5): <https://commits.webkit.org/316735@main>
Reviewed commits have been landed. Closing PR #56919 and removing active labels.
revert-bot
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
Pull request: https://github.com/WebKit/WebKit/pull/69287