Bug 1293149 - Mediasource URL check should check for 'blob' instead of 'mediasource'. r=automatedtester
authorBryce Van Dyk <bvandyk@mozilla.com>
Mon, 08 Aug 2016 15:25:06 +1200
changeset 308563 f431fe83f56a9f37e057625c884b436f1445512e
parent 308562 b396323fb8a72dc67fa2c1b2cf3ff5e5c69ba028
child 308564 f0c07fbbb4b5135ff5827fc35f98bb9897424210
push id30545
push usercbook@mozilla.com
push dateTue, 09 Aug 2016 13:42:31 +0000
treeherdermozilla-central@643a67968688 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester
bugs1293149, 1279493
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)