Bug 1208371 - Remove unnecessary fakeTracks:true from test_streams_individual_pause.html. r?jib
MozReview-Commit-ID: BAnCqWqVEOA
--- a/dom/media/test/test_streams_individual_pause.html
+++ b/dom/media/test/test_streams_individual_pause.html
@@ -20,21 +20,19 @@ var getVideoImagePixelData = function(v)
return "r" + imgData[0] +
"g" + imgData[1] +
"b" + imgData[2] +
"a" + imgData[3];
}
// This test does not appear to work with the "Dummy video source" provided on
// linux through the "media.video_loopback_dev" pref in the tree test environment.
-// To force the built-in fake streams to always be used instead, we specify
-// fakeTracks, a feature solely of the built-in fake streams (even though we
-// don't use the extra tracks).
+// We force a stream always by requesting `fake: true` here.
-navigator.mozGetUserMedia({video: true, fake: true, fakeTracks: true },
+navigator.mozGetUserMedia({video: true, fake: true },
function(stream) {
var stream = stream;
var video1 = document.getElementById('video1');
var video2 = document.getElementById('video2');
var src = URL.createObjectURL(stream);
video1.src = src;
video2.src = src;