[Webkit-unassigned] [Bug 276874] New: [WPE][WebDriver] Missing the first touch tap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 21 21:23:12 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=276874

            Bug ID: 276874
           Summary: [WPE][WebDriver] Missing the first touch tap
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: bburg at apple.com

Created attachment 471927

  --> https://bugs.webkit.org/attachment.cgi?id=471927&action=review

Demo script

279643 at main added support for WebDriver touch events in the new WPE API, but the first touch "tap" doesn't seem to be processed correctly, not generating the respective "touchstart/touchend" pair in the target element. Only from the second pair onwards, the target element starts emitting the events.

I'm using the HTML sample at https://people.igalia.com/lmoura/webdriver/touch-tap-issue.html, and attached is the python script, using the WPT `webdriver` library[1]. The example works fine in Chromium, generating the event pair for each issued command.

Early investigation shows the native touch events seem to be correctly generated and delivered to the `WebPageProxy`. Looks like something from WebProcess's `EventHandler::handleTouchEvent` down might be the cause.

I also tested reverting 280661 at main (added touch gestures to WPE), but the behavior is the same.

[1] A tarball for the library is available at https://people.igalia.com/lmoura/webdriver/webdriver-1.0.tar.gz, generated from `tools/webdriver` in the WPT tree (https://github.com/web-platform-tests/wpt/tree/master/tools/webdriver/).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240722/dffa09f0/attachment.htm>


More information about the webkit-unassigned mailing list