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
--- 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)