Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION (268971@main): [ iOS ] TestWebKitAPI.iOSMouseSupport.Mouse…
…DidMoveOverElement is a consistent timeout https://bugs.webkit.org/show_bug.cgi?id=273839 rdar://127691561 Reviewed by Megan Gardner and Richard Robinson. The changes to `MouseEventTestHarness` in 268971@main made this API test time out, but only on iPad. That's because UIKit adds its own `UIHoverGestureRecognizer` subclasses to `WKContentView` on iPad, which causes the logic in the constructor of `MouseEventTestHarness` to initialize `m_hoverGestureRecognizer` to the wrong gesture. Subsequently, attempts to simulate mouse movement using this gesture recognizer fails to call into `WKMouseInteraction` delegate methods. To fix this, simply adjust this logic to check the name of the gesture recognizer (`"WKMouseHover"`) instead of relying on the class and `allowedTouchTypes`. * Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm: (TestWebKitAPI::MouseEventTestHarness::MouseEventTestHarness): Canonical link: https://commits.webkit.org/278651@main
- Loading branch information