Bug 1498237 - switch test_fingerprints.html to use video instead of audio. r=achronop
authorJan-Ivar Bruaroey <jib@mozilla.com>
Fri, 12 Oct 2018 18:06:29 +0000
changeset 499367 8aa6552b8f99bfd3358ae3306625461e6f4678e5
parent 499366 7c1aecbca3ddeb55c60b943a123eb65a052f8594
child 499368 8411d22c2440f4b52e0b835d2a223715d92adf65
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersachronop
bugs1498237
milestone64.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 1498237 - switch test_fingerprints.html to use video instead of audio. r=achronop Differential Revision: https://phabricator.services.mozilla.com/D8583
dom/media/tests/mochitest/identity/test_fingerprints.html
--- a/dom/media/tests/mochitest/identity/test_fingerprints.html
+++ b/dom/media/tests/mochitest/identity/test_fingerprints.html
@@ -57,17 +57,17 @@ function testMultipleFingerprints() {
   var pcDouble = new RTCPeerConnection({});
 
   var offer, match, fingerprints;
 
   var fail = msg =>
       (e => ok(false, 'error in ' + msg + ': ' +
                (e.message ? (e.message + '\n' + e.stack) : e)));
 
-  navigator.mediaDevices.getUserMedia({ audio: true })
+  navigator.mediaDevices.getUserMedia({ video: true })
     .then(stream => {
       ok(stream, 'Got test stream');
       pcDouble.addStream(stream);
       return pcDouble.createOffer();
     })
     .then(o => {
       offer = o;
       ok(offer, 'Got offer');