Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2c408d4afd94f422caa592ded1011352e85b9647
https://github.com/WebKit/WebKit/commit/2c408d4afd94f422caa592ded1011352e85b9647
Author: Tim Horton <[email protected]>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M Tools/TestWebKitAPI/Helpers/mac/OffscreenWindow.mm
Log Message:
-----------
WebKit.TabOutOfWebView API test fails in some configurations
https://bugs.webkit.org/show_bug.cgi?id=314587
rdar://176427119
Reviewed by Richard Robinson.
* Tools/TestWebKitAPI/Helpers/mac/OffscreenWindow.mm:
(-[OffscreenWindow _startingWindowForSendAction:]):
When AppKit uses sendEvent: instead of a manual responder chain walk to dispatch
focus changes, WebKit.TabOutOfWebView fails, because sendEvent: uses the
key window to figure out where to send events, which is nil in WKTR.
Make use of some (sadly) IPI to redirect sendEvent: to our offscreen window.
Canonical link: https://commits.webkit.org/313050@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications