Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07f9bb3ce12652212db136d35ee34d06aa93425b
https://github.com/WebKit/WebKit/commit/07f9bb3ce12652212db136d35ee34d06aa93425b
Author: Lily Spiniolas <[email protected]>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M LayoutTests/fast/events/touch/ios/touch-event-radius-expected.txt
M LayoutTests/fast/events/touch/ios/touch-event-radius.html
M Source/WebCore/PAL/pal/spi/ios/IOKitSPIIOS.h
M Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl
M Tools/TestRunnerShared/UIScriptContext/UIScriptController.h
M Tools/WebKitTestRunner/ios/HIDEventGenerator.h
M Tools/WebKitTestRunner/ios/HIDEventGenerator.mm
M Tools/WebKitTestRunner/ios/UIScriptControllerIOS.h
M Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm
Log Message:
-----------
Restore functionality of LayoutTest `touch-event-radius.html`
https://bugs.webkit.org/show_bug.cgi?id=310039
rdar://171567543
Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.
Add new UIScriptController method `touchDownAtPointWithMajorRadius`
which simulates a touch with a specific major radius and major radius
tolerance. Update layout test `touch-event-radius.html` to use this new
method instead, thus restoring its functionality.
* LayoutTests/fast/events/touch/ios/touch-event-radius-expected.txt:
* LayoutTests/fast/events/touch/ios/touch-event-radius.html:
* Source/WebCore/PAL/pal/spi/ios/IOKitSPIIOS.h:
* Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
* Tools/TestRunnerShared/UIScriptContext/UIScriptController.h:
(WTR::UIScriptController::touchDownAtPointWithMajorRadius):
* Tools/WebKitTestRunner/ios/HIDEventGenerator.h:
* Tools/WebKitTestRunner/ios/HIDEventGenerator.mm:
(-[HIDEventGenerator _createIOHIDEventType:]):
(-[HIDEventGenerator touchDown:majorRadius:majorRadiusTolerance:]):
(-[HIDEventGenerator
touchDown:majorRadius:majorRadiusTolerance:completionBlock:]):
* Tools/WebKitTestRunner/ios/UIScriptControllerIOS.h:
* Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptControllerIOS::touchDownAtPointWithMajorRadius):
Canonical link: https://commits.webkit.org/309369@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications