forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1543337 - Implement support for touch input in marionette, r=webd…
…river-reviewers,whimboo,jdescottes Touch is a bit different to mouse inputs because there are often multiple pointers (i.e. fingers) acting at the same time. It turns out that Gecko wants a single call containing all the positions etc. of the touch pointers for each event, rather than having a single call per pointer. So we have to group the pointer actions from one tick together. Differential Revision: https://phabricator.services.mozilla.com/D139120
- Loading branch information
Showing
76 changed files
with
1,025 additions
and
152 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
.../dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[document-level-touchmove-event-listener-passive-by-default.tentative.html] | ||
expected: ERROR | ||
[Touchmove events are non-cancelable since the event listener is treated as passive.] | ||
expected: FAIL |
11 changes: 10 additions & 1 deletion
11
testing/web-platform/meta/dom/events/scrolling/overscroll-deltas.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[overscroll-deltas.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
[Tests that the document gets overscroll event with right deltaX/Y attributes.] | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
FAIL |
11 changes: 10 additions & 1 deletion
11
testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-document.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[overscroll-event-fired-to-document.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
[Tests that the document gets overscroll event when no element scrolls after touch scrolling.] | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
FAIL |
11 changes: 10 additions & 1 deletion
11
.../dom/events/scrolling/overscroll-event-fired-to-element-with-overscroll-behavior.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[overscroll-event-fired-to-element-with-overscroll-behavior.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
[Tests that the last element in the cut scroll chain gets overscroll event when no element scrolls by touch.] | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
FAIL |
11 changes: 10 additions & 1 deletion
11
testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-window.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[overscroll-event-fired-to-window.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
[Tests that the window gets overscroll event when no element scrollsafter touch scrolling.] | ||
expected: | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
FAIL |
19 changes: 18 additions & 1 deletion
19
testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-snap.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
[scrollend-event-fired-after-snap.html] | ||
expected: ERROR | ||
expected: | ||
if (os == "linux") and not debug: TIMEOUT | ||
if (os == "mac") and not debug: TIMEOUT | ||
if os == "win": TIMEOUT | ||
[Tests that scrollend is fired after scroll snap animation completion.] | ||
expected: | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
FAIL | ||
|
||
[Tests that scrollend is fired after fling snap animation completion.] | ||
expected: | ||
if (os == "mac") and not debug: NOTRUN | ||
if (os == "linux") and not debug: NOTRUN | ||
if (os == "win") and not debug: NOTRUN | ||
if (os == "win") and debug: TIMEOUT | ||
FAIL |
11 changes: 10 additions & 1 deletion
11
testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-document.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[scrollend-event-fired-to-document.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
[Tests that the document gets scrollend event when no element scrolls by touch.] | ||
expected: | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
FAIL |
11 changes: 10 additions & 1 deletion
11
...a/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[scrollend-event-fired-to-element-with-overscroll-behavior.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
[Tests that the last element in the cut scroll chain gets scrollend event when no element scrolls by touch.] | ||
expected: | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
FAIL |
11 changes: 10 additions & 1 deletion
11
testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-window.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[scrollend-event-fired-to-window.html] | ||
expected: ERROR | ||
expected: | ||
if not debug and (os == "linux"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "win"): TIMEOUT | ||
[Tests that the window gets scrollend event when no element scrolls after touch scrolling.] | ||
expected: | ||
if not debug and (os == "win"): TIMEOUT | ||
if not debug and (os == "mac"): TIMEOUT | ||
if not debug and (os == "linux"): TIMEOUT | ||
FAIL |
10 changes: 9 additions & 1 deletion
10
testing/web-platform/meta/event-timing/first-input-interactionid-tap.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
[first-input-interactionid-tap.html] | ||
expected: ERROR | ||
expected: | ||
if (os == "win") and not debug and (processor == "x86_64"): OK | ||
if os == "android": OK | ||
TIMEOUT | ||
[Event Timing: The interactionId of first input should match the event timing pointerdown entry when tap.] | ||
expected: | ||
if (os == "win") and not debug and (processor == "x86_64"): FAIL | ||
if os == "android": FAIL | ||
TIMEOUT |
10 changes: 9 additions & 1 deletion
10
testing/web-platform/meta/event-timing/interactionid-tap.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
[interactionid-tap.html] | ||
expected: ERROR | ||
expected: | ||
if (os == "linux") and not fission and debug and not swgl: OK | ||
if os == "android": OK | ||
TIMEOUT | ||
[Event Timing: compare event timing interactionId for tap.] | ||
expected: | ||
if (os == "linux") and not fission and debug and not swgl: FAIL | ||
if os == "android": FAIL | ||
TIMEOUT |
2 changes: 0 additions & 2 deletions
2
testing/web-platform/meta/infrastructure/testdriver/actions/multiTouchPoints.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...latform/meta/infrastructure/testdriver/actions/multiTouchPointsReleaseFirstPoint.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...atform/meta/infrastructure/testdriver/actions/multiTouchPointsReleaseSecondPoint.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...b-platform/meta/infrastructure/testdriver/actions/multiTouchPointsTwoTouchStarts.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...ng/web-platform/meta/infrastructure/testdriver/actions/multiTouchPointsWithPause.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
.../web-platform/meta/infrastructure/testdriver/actions/touchPointerEventProperties.html.ini
This file was deleted.
Oops, something went wrong.
7 changes: 6 additions & 1 deletion
7
...tform/meta/pointerevents/compat/pointerevent_touch-action_two-finger_interaction.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
[pointerevent_touch-action_two-finger_interaction.html] | ||
expected: ERROR | ||
expected: TIMEOUT | ||
[touch two-finger pan on 'touch-action: pan-x pan-y'] | ||
expected: NOTRUN | ||
|
||
[touch two-finger pan on 'touch-action: pinch-zoom'] | ||
expected: NOTRUN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.