From c4dc40532ec4e09e2e49cb749f208859b69e60e6 Mon Sep 17 00:00:00 2001 From: Blink WPT Bot Date: Tue, 26 Nov 2019 11:25:49 +0000 Subject: [PATCH] Bug 1596865 [wpt PR 20276] - Chromedriver] Fix PerformAction to support multi touch points cases, a=testonly Automatic update from web-platform-tests Chromedriver] Fix PerformAction to support multi touch points cases (#20276) * Chromedriver] Fix PerformAction to support multi touch points cases For the multiple touch points case, if we have one point move and the other point stay still, such as point 1: pointerdown, pause, pointerup point 2: pointerdown, pointermove, pointerup We should send five touch point events of "pointerdown", "pointerdown", "pointermove", "pointerup", "pointerup" with pointer id 1, 2, 2, 1, 2. Bug: 1020674 Change-Id: I7bdb49b7b37d4f83ef976750e106cbd27afc9e74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900632 Reviewed-by: John Chen Commit-Queue: Lan Wei Cr-Commit-Position: refs/heads/master@{#715739} * add expectation data * rename to ini -- wpt-commits: df29f11cf0686caced7f382bcaff059c4dbfc070 wpt-pr: 20276 --- .../multiTouchPointsWithPause.html.ini | 3 + .../actions/multiTouchPointsWithPause.html | 55 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 testing/web-platform/tests/infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsWithPause.html.ini create mode 100644 testing/web-platform/tests/infrastructure/testdriver/actions/multiTouchPointsWithPause.html diff --git a/testing/web-platform/tests/infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsWithPause.html.ini b/testing/web-platform/tests/infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsWithPause.html.ini new file mode 100644 index 000000000000..4f1939a431ae --- /dev/null +++ b/testing/web-platform/tests/infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsWithPause.html.ini @@ -0,0 +1,3 @@ +[multiTouchPointsWithPause.html] + expected: + if product == "firefox" or product == "safari": ERROR diff --git a/testing/web-platform/tests/infrastructure/testdriver/actions/multiTouchPointsWithPause.html b/testing/web-platform/tests/infrastructure/testdriver/actions/multiTouchPointsWithPause.html new file mode 100644 index 000000000000..645caf2c720e --- /dev/null +++ b/testing/web-platform/tests/infrastructure/testdriver/actions/multiTouchPointsWithPause.html @@ -0,0 +1,55 @@ + + +TestDriver actions: two touch points with one moving one pause + + + + + + + + +
+
+ +