[webkit-changes] [WebKit/WebKit] 8fc38a: WebDriver: [Cocoa] Enable basic touch events on iO...

Patrick Angle noreply at github.com
Fri Oct 21 09:18:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8fc38a332dc4756f46ae31a9df1d292dbe477ae8
      https://github.com/WebKit/WebKit/commit/8fc38a332dc4756f46ae31a9df1d292dbe477ae8
  Author: Patrick Angle <pangle at apple.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M Source/WTF/wtf/PlatformEnableCocoa.h

  Log Message:
  -----------
  WebDriver: [Cocoa] Enable basic touch events on iOS (and also aliasing mouse events to touch events)
https://bugs.webkit.org/show_bug.cgi?id=246810
rdar://100402480

Reviewed by Devin Rousso.

Enable touch events for WebDriver on iOS, which in turn also allows us to alias basic mouse events to touch event, since
mouse events are not currently supported in Cocoa for WebDriver. Basic actions like tapping behave as intended. WPT test
pass rate isn't much worse than our other action types (so there is room for improvement) but without this drivers can
not even click on elements without resorting to JS to do the work instead.

* Source/WTF/wtf/PlatformEnableCocoa.h:

Canonical link: https://commits.webkit.org/255831@main




More information about the webkit-changes mailing list