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

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: 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
Index: tools/perf/benchmarks/media.py
diff --git a/tools/perf/benchmarks/media.py b/tools/perf/benchmarks/media.py
index ddccefb6b1dc55ee1ed44ed7b47a4ae72f4cfc8d..74fd0ae19363f9c102784bdea02640dcee04cf7b 100644
--- a/tools/perf/benchmarks/media.py
+++ b/tools/perf/benchmarks/media.py
@@ -156,7 +156,12 @@ 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.
+ options.AppendExtraBrowserArgs(
+ ['--ignore-autoplay-restrictions',
+ '--disable-gesture-requirement-for-media-playback'])
# This isn't running anywhere. See crbug/709161.

Powered by Google App Engine
This is Rietveld 408576698