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

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

Issue 145033014: Enable media android tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase tot Created 6 years, 11 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/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 867a9b9b2c8e1678c3b4862d674284c5310707b3..7f154f624b55214200025c4c76efb3a30cf9280e 100644
--- a/tools/perf/measurements/media.py
+++ b/tools/perf/measurements/media.py
@@ -28,6 +28,9 @@ class Media(page_measurement.PageMeasurement):
return False
def CustomizeBrowserOptions(self, options):
+ # Needed to run media actions in JS on touch-based devices as on Android.
+ options.AppendExtraBrowserArgs(
+ '--disable-gesture-requirement-for-media-playback')
memory.MemoryMetric.CustomizeBrowserOptions(options)
def DidNavigateToPage(self, page, tab):
« no previous file with comments | « tools/perf/benchmarks/media.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698