Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 993dd6a0d2d563c44b0d5ca8f222056d8699a7a9
https://github.com/WebKit/WebKit/commit/993dd6a0d2d563c44b0d5ca8f222056d8699a7a9
Author: Dana Estra <[email protected]>
Date: 2026-01-16 (Fri, 16 Jan 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/mac/MouseEventTests.mm
Log Message:
-----------
Add API test to ensure we dispatch mouse events when the window frame changes
https://bugs.webkit.org/show_bug.cgi?id=305590
rdar://168246481
Reviewed by Wenson Hsieh.
Add API test for patch https://github.com/WebKit/WebKit/pull/55590, checking
that we dispatch a mouseleave event when the window frame changes and causes
the element underneath the mouse to change.
* Tools/TestWebKitAPI/Tests/mac/MouseEventTests.mm:
(+[OverrideMouseLocation setOverrideMouseLocation:]):
(TestWebKitAPI::runDispatchMouseLeaveEventOnWindowMoveTest):
(TestWebKitAPI::TEST(MouseEventTests, WindowChangeShouldCauseMouseLeaveEvent)):
(TestWebKitAPI::TEST(MouseEventTests,
WindowChangeShouldNotCauseMouseLeaveEvent)):
Canonical link: https://commits.webkit.org/305720@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications