Bug 1293149 - Mediasource URL check should check for 'blob' instead of 'mediasource'. r?AutomatedTester draft
authorBryce Van Dyk <bvandyk@mozilla.com>
Mon, 08 Aug 2016 15:25:06 +1200
changeset 397701 8fde23cd4f53de97274403f82e7afdc2a87c1bdc
parent 397688 763fe887c37cee5fcfe0f00e94fdffc84a41ea1c
child 527508 f486324f02fa984699d054e3724d22e50d49cdc0
push id25357
push userbvandyk@mozilla.com
push dateMon, 08 Aug 2016 03:32:41 +0000
reviewersAutomatedTester
bugs1293149, 1279493
milestone51.0a1
Bug 1293149 - Mediasource URL check should check for 'blob' instead of 'mediasource'. r?AutomatedTester This behaviour changed as part of Bug 1279493, and the tests should be updated to reflect this. MozReview-Commit-ID: oITf0hVjKk
dom/media/test/external/external_media_tests/playback/youtube/test_basic_playback.py
--- a/dom/media/test/external/external_media_tests/playback/youtube/test_basic_playback.py
+++ b/dom/media/test/external/external_media_tests/playback/youtube/test_basic_playback.py
@@ -18,18 +18,18 @@ class TestBasicYouTubePlayback(MediaTest
         with self.marionette.using_context(Marionette.CONTEXT_CONTENT):
             youtube = YouTubePuppeteer(self.marionette, self.video_urls[0],
                                        timeout=60)
             wait = Wait(youtube,
                         timeout=min(300, youtube.expected_duration * 1.3),
                         interval=1)
             try:
                 verbose_until(wait, youtube,
-                              lambda y: y.video_src.startswith('mediasource'),
-                              "Failed to find 'mediasource' in video src url.")
+                              lambda y: y.video_src.startswith('blob'),
+                              "Failed to find 'blob' in video src url.")
             except TimeoutException as e:
                 raise self.failureException(e)
 
     def test_video_playing_in_one_tab(self):
         with self.marionette.using_context(Marionette.CONTEXT_CONTENT):
             for url in self.video_urls:
                 self.logger.info(url)
                 youtube = YouTubePuppeteer(self.marionette, url)