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

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

Issue 2855333002: telemetry: support old builds that still use disable-gesture-requirement-for-media-playback flag. (Closed)
Patch Set: More detailed comments. Created 3 years, 7 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 | « tools/perf/benchmarks/blink_perf.py ('k') | tools/perf/measurements/media.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/media.py
diff --git a/tools/perf/benchmarks/media.py b/tools/perf/benchmarks/media.py
index ddccefb6b1dc55ee1ed44ed7b47a4ae72f4cfc8d..e56c0796ff23d9dcdebaae1ac1efc39ae16eb67e 100644
--- a/tools/perf/benchmarks/media.py
+++ b/tools/perf/benchmarks/media.py
@@ -156,7 +156,14 @@ class MediaAndroidToughVideoCasesTBMv2(_MediaTBMv2Benchmark):
# By default, Chrome on Android does not allow autoplay
# of media: it requires a user gesture event to start a video.
# The following option works around that.
- 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.
+ # --disable-gesture-requirement-for-media-playback is the old one and can be
+ # removed after M60 goes to stable.
+ options.AppendExtraBrowserArgs(
+ ['--ignore-autoplay-restrictions',
+ '--disable-gesture-requirement-for-media-playback'])
# This isn't running anywhere. See crbug/709161.
« no previous file with comments | « tools/perf/benchmarks/blink_perf.py ('k') | tools/perf/measurements/media.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698