Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js

Issue 2621353003: Replace mouse actions in pointer event tests with pointerActionSequence (Closed)
Patch Set: pointer mouse event Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js b/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
index 70f69c89f673a774d09fdd6d67ec920f60cd2edf..c9ea6a7f6f7bc64af1feca4c4c67f21a4c9adcd9 100644
--- a/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js
@@ -1,13 +1,5 @@
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
- return mouseMoveIntoTarget('#target0').then(function() {
- return mouseButtonPress(0);
- }).then(function() {
- return mouseButtonPress(1);
- }).then(function() {
- return mouseButtonRelease(1);
- }).then(function() {
- return mouseButtonRelease(0);
- });
-}
+ return mouseChordedButtonPress('#target0');
+}

Powered by Google App Engine
This is Rietveld 408576698