[wpt-sync] Sync PR 20154 - Add pause action for key and pointer source types
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox72 fixed)
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 20154 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20154
Details from upstream follow.
Lan Wei <lanwei@chromium.org> wrote:
Add pause action for key and pointer source types
In Webdriver spec, it has example (https://www.w3.org/TR/webdriver/
#example-11) that the source has a pause action, which means that the
source does not have any action at this tick. Currently we only have
a pause action for none source type, we should have the pause action
for the key and pointer types as well.For example:
let actions = new test_driver.Actions()
.addPointer("touchPointer1", "touch")
.addPointer("touchPointer2", "touch")
.pointerMove(10, 0, {origin: test1, sourceName: "touchPointer2"})
.pointerMove(0, 0, {origin: test1, sourceName: "touchPointer1"})
.pointerDown({sourceName: "touchPointer1"})
.pointerDown({sourceName: "touchPointer2"})
.pause(0, "pointer", {sourceName: "touchPointer1"})
.pointerMove(0, 10, {origin: test1, sourceName: "touchPointer2"})
.pointerUp({sourceName: "touchPointer1"})
.pointerUp({sourceName: "touchPointer2"});Bug: 1020674
Change-Id: Iacd2811a91bc26d273cd9589a96e0a377941d79cReviewed-on: https://chromium-review.googlesource.com/1900650
WPT-Export-Revision: b60aa93e21f0594c50f0e3e9b53897cdcefcf333
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
GitHub CI Results
wpt.fyi PR Results Base Results
Ran 101 tests and 139 subtests
Firefox
Chrome
Safari
OK : 20
PASS : 96
FAIL : 20
TIMEOUT: 28
ERROR : 53
NOTRUN : 23
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e67a2ca15c97
https://hg.mozilla.org/mozilla-central/rev/2643d580828a
Description
•