OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 from measurements import media | 4 from measurements import media |
5 from telemetry import test | 5 from telemetry import test |
6 | 6 |
7 | |
8 class Media(test.Test): | 7 class Media(test.Test): |
9 """Obtains media metrics for key user scenarios.""" | 8 """Obtains media metrics for key user scenarios.""" |
10 test = media.Media | 9 test = media.Media |
11 page_set = 'page_sets/tough_video_cases.json' | 10 page_set = 'page_sets/tough_video_cases.json' |
| 11 |
| 12 class MediaSourceExtensions(test.Test): |
| 13 """Obtains media metrics for key media source extensions functions.""" |
| 14 test = media.Media |
| 15 page_set = 'page_sets/mse_cases.json' |
| 16 |
| 17 def CustomizeBrowserOptions(self, options): |
| 18 # Needed to allow XHR requests to return stream objects. |
| 19 options.AppendExtraBrowserArgs( |
| 20 '--enable-experimental-web-platform-features') |
OLD | NEW |