Bug 1293149 - Mediasource URL check should check for 'blob' instead of 'mediasource'. r=AutomatedTester a=test-only
authorBryce Van Dyk <bvandyk@mozilla.com>
Mon, 08 Aug 2016 15:25:06 +1200
changeset 349768 264adddee81b8115b9392e20aaeaaaf4a2572a12
parent 349767 26538451d2729e8f2447b35c2d3ee58be0d6a5f4
child 349769 fdc2f1d67e3977e4fbc79d0acbb32259eca0f524
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAutomatedTester, test-only
bugs1293149, 1279493
milestone50.0a2
Bug 1293149 - Mediasource URL check should check for 'blob' instead of 'mediasource'. r=AutomatedTester a=test-only 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
@@ -17,18 +17,18 @@ class TestBasicYouTubePlayback(MediaTest
         with self.marionette.using_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('content'):
             for url in self.video_urls:
                 self.logger.info(url)
                 youtube = YouTubePuppeteer(self.marionette, url)