WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
276874
[WPE][WebDriver] Missing the first touch tap
https://bugs.webkit.org/show_bug.cgi?id=276874
Summary
[WPE][WebDriver] Missing the first touch tap
Lauro Moura
Reported
2024-07-21 21:23:12 PDT
Created
attachment 471927
[details]
Demo script
279643@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@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/
).
Attachments
Demo script
(2.15 KB, text/x-python)
2024-07-21 21:23 PDT
,
Lauro Moura
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Lauro Moura
Comment 1
2024-08-07 23:28:55 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/31883
EWS
Comment 2
2024-08-08 09:33:59 PDT
Committed
281996@main
(c76015a5f579): <
https://commits.webkit.org/281996@main
> Reviewed commits have been landed. Closing PR #31883 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-08-08 09:34:18 PDT
<
rdar://problem/133467821
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug