Changeset 267545 in webkit
- Timestamp:
- Sep 24, 2020, 2:36:45 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Automation/WebAutomationSession.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r267540 r267545 1 2020-09-24 Brian Burg <bburg@apple.com> 2 3 REGRESSION(iOS WebDriver): action chains with 'Touch' pointerType don't work on Mac 4 https://bugs.webkit.org/show_bug.cgi?id=216937 5 <rdar://problem/69149171> 6 7 Reviewed by Darin Adler. 8 9 Before iOS WebDriver shipped, 'Touch' was unconditionally aliased to 'Mouse.' 10 Make sure the aliasing happens for macOS so the command doesn't fail frivolously. 11 12 * UIProcess/Automation/WebAutomationSession.cpp: 13 (WebKit::WebAutomationSession::performInteractionSequence): 14 Alias 'Touch' to 'Mouse' when touch is not available and mouse is. 15 This is the case for macOS. 16 1 17 2020-09-24 Kate Cheney <katherine_cheney@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp
r266902 r267545 1856 1856 if (inputSourceType == SimulatedInputSourceType::Mouse) 1857 1857 inputSourceType = SimulatedInputSourceType::Touch; 1858 #elif ENABLE(WEBDRIVER_MOUSE_INTERACTIONS) && !ENABLE(WEBDRIVER_TOUCH_INTERACTIONS) 1859 if (inputSourceType == SimulatedInputSourceType::Touch) 1860 inputSourceType = SimulatedInputSourceType::Mouse; 1858 1861 #endif 1859 1862 #if !ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
Note:
See TracChangeset
for help on using the changeset viewer.