Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c03ac35b8002b440d84481c48964fc31ac154577
https://github.com/WebKit/WebKit/commit/c03ac35b8002b440d84481c48964fc31ac154577
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-01-02 (Fri, 02 Jan 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm
Log Message:
-----------
TestWebKitAPI.PointerLockTests.MouseDeviceMove is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=304206
rdar://166568197
Reviewed by Wenson Hsieh.
This test was failing with the following ObjC runtime exception:
```
-[GCMouseInput handleMouseMovementEventWithDelta:]: unrecognized selector sent
to instance 0x333c04000
```
... unsurprisingly, given the method in question was marked NS_DIRECT as
part of rdar://155632287, effectively making the method invisible
outside of GameController.framework.
In this patch, we work around the visibility change by writing a
simplification of GCMouseInput's mouse movement handling logic.
Critically, we make sure to fire the `mouseMovedHandler` associated with
the mouse input, which naturally triggers the remainder of the system
event dispatch logic.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
((PointerLockTests, MouseDeviceMove)):
Canonical link: https://commits.webkit.org/305051@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications