Bug 1434983 - Make screenshare and windowshare test one-way, to work around limitations on OS X. r=pehrsons, a=test-only
authorByron Campen [:bwc] <docfaraday@gmail.com>
Tue, 29 May 2018 08:35:36 -0500
changeset 806024 e5deb539c16d5bca2868be847a569e8f96129c73
parent 806023 af365070668fa29b214d809c37b8355865129ee7
child 806025 bd1438686c3f1c174e49c7eb5ec864b252e119e8
push id112832
push userbballo@mozilla.com
push dateFri, 08 Jun 2018 21:11:22 +0000
reviewerspehrsons, test-only
bugs1434983
milestone60.0.3
Bug 1434983 - Make screenshare and windowshare test one-way, to work around limitations on OS X. r=pehrsons, a=test-only MozReview-Commit-ID: Ldy7Wb3ZSPQ
dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html
dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html
--- a/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html
@@ -22,15 +22,15 @@
     test = new PeerConnectionTest(options);
     var constraints = {
       video: {
          mozMediaSource: "screen",
          mediaSource: "screen"
       },
       fake: false
     };
-    test.setMediaConstraints([constraints], [constraints]);
+    test.setMediaConstraints([constraints], []);
     test.run();
   });
 </script>
 </pre>
 </body>
 </html>
--- a/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html
@@ -22,15 +22,15 @@
     test = new PeerConnectionTest(options);
     var constraints = {
       video: {
          mozMediaSource: "window",
          mediaSource: "window"
       },
       fake: false
     };
-    test.setMediaConstraints([constraints], [constraints]);
+    test.setMediaConstraints([constraints], []);
     test.run();
   });
 </script>
 </pre>
 </body>
 </html>