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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_touch-action-mouse-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_touch-action-mouse-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js b/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
index ae1dbbc62f6bf86d148fd023688a53bb5eadccc0..b731f03f9c01f448cd6dbe512a8baf3667550fbc 100644
--- a/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
@@ -1,10 +1,8 @@
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
- return mouseClickInTarget('#target0').then(function() {
- return mouseWheelScroll('down');
- }).then(function() {
- return mouseWheelScroll('right');
+ return mouseWheelScroll('#target0', 'down').then(function() {
+ return mouseWheelScroll('#target0', 'right');
});
}

Powered by Google App Engine
This is Rietveld 408576698