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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual-automation.js

Issue 2306103003: Use querySelector instead of getElementById (Closed)
Patch Set: Created 4 years, 3 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/imported/wpt_automation/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual-automation.js
index d6728277640022511177c81b2f043f3f59c1c7f4..1dce530fbfad5c7b40e726099f6304639232b21c 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual-automation.js
@@ -1,7 +1,9 @@
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
- touchScrollUpInTarget('target0');
- touchScrollLeftInTarget('target0');
- touchTapInTarget('btnComplete');
-}
+ return touchScrollInTarget('#target0 > div > p', 'down').then(function() {
+ return touchScrollInTarget('#target0 > div > p', 'right');
+ }).then(function() {
+ return touchTapInTarget('#btnComplete');
+ });
+}

Powered by Google App Engine
This is Rietveld 408576698