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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_change-touch-action-onpointerdown_touch-manual-automation.js

Issue 2300623004: Make tests wait until automation is done to prevent leaks (Closed)
Patch Set: Fix test expectation 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_change-touch-action-onpointerdown_touch-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_change-touch-action-onpointerdown_touch-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_change-touch-action-onpointerdown_touch-manual-automation.js
index 904f62ba690ad3a7078f1ce7137d3f45d631fd67..f93926f559d2b415ebc4a7e5b68cf8264d5f2917 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_change-touch-action-onpointerdown_touch-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_change-touch-action-onpointerdown_touch-manual-automation.js
@@ -1,2 +1,6 @@
-if (window.chrome && chrome.gpuBenchmarking)
- chrome.gpuBenchmarking.smoothScrollBy(50, function() {}, 250, 250, 1, "down");
+importAutomationScript('/pointerevents/pointerevent_common_input.js');
+
+function inject_input() {
+ return touchScrollInTarget('target0', 'down');
+}
+

Powered by Google App Engine
This is Rietveld 408576698