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

Unified Diff: tools/perf/measurements/media.py

Issue 2855333002: telemetry: support old builds that still use disable-gesture-requirement-for-media-playback flag. (Closed)
Patch Set: fix blink_perf as well Created 3 years, 8 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
« tools/perf/benchmarks/blink_perf.py ('K') | « tools/perf/benchmarks/media.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/media.py
diff --git a/tools/perf/measurements/media.py b/tools/perf/measurements/media.py
index 41f56a0ff914bf85bd76a337b338a52b41426f98..6593f80db307fb345daec12bd14e5b10f8da5d9f 100644
--- a/tools/perf/measurements/media.py
+++ b/tools/perf/measurements/media.py
@@ -31,7 +31,12 @@ class Media(legacy_page_test.LegacyPageTest):
def CustomizeBrowserOptions(self, options):
# Needed to run media actions in JS on touch-based devices as on Android.
- options.AppendExtraBrowserArgs('--ignore-autoplay-restrictions')
+ # Note that both of these flags should be used until every build from
+ # ToT to Stable switches over to one flag or another. This is to support
+ # reference builds.
+ options.AppendExtraBrowserArgs(
+ ['--ignore-autoplay-restrictions',
+ '--disable-gesture-requirement-for-media-playback'])
power.PowerMetric.CustomizeBrowserOptions(options)
def DidNavigateToPage(self, page, tab):
« tools/perf/benchmarks/blink_perf.py ('K') | « tools/perf/benchmarks/media.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698