Bug 1208371 - Remove unnecessary fakeTracks:true from test_streams_individual_pause.html. r=jib

MozReview-Commit-ID: BAnCqWqVEOA

--HG--
extra : rebase_source : edd553f20d36f6641335bc2cfa331fcd637dccb0
This commit is contained in:
Andreas Pehrson 2016-01-05 10:16:31 +08:00
parent ef44cb89cc
commit a1425ed881

View File

@ -25,11 +25,9 @@ var getVideoImagePixelData = function(v) {
// 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');