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

Unified Diff: tools/perf/page_sets/key_silk_cases.py

Issue 2178573002: CL for perf tryjob on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « testing/variations/fieldtrial_testing_config_win.json ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_silk_cases.py
diff --git a/tools/perf/page_sets/key_silk_cases.py b/tools/perf/page_sets/key_silk_cases.py
index f8fe4f9ff86f06c38bb2dbb7e3aca53ea9ab4fce..3f2af4dcc8a22ffac8e3bbde9cb9524918ca6609 100644
--- a/tools/perf/page_sets/key_silk_cases.py
+++ b/tools/perf/page_sets/key_silk_cases.py
@@ -560,6 +560,10 @@ class Page26(KeySilkCasesPage):
action_runner.Wait(1)
def PerformPageInteractions(self, action_runner):
+ # add a passive: false listener to disable the root scroller intervention
+ action_runner.ExecuteJavaScript('''
+ window.addEventListener("touchstart", function(e) {}, {passive: false}
+ );''')
with action_runner.CreateGestureInteraction('ScrollAction'):
action_runner.ScrollPage(distance=5000)
« no previous file with comments | « testing/variations/fieldtrial_testing_config_win.json ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698