Bug 1063808 - fix offerRequiresVideo to request video instead of audio. r=jib
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Tue, 16 Sep 2014 19:49:00 +0200
changeset 206196 9dbcd7b224919fc8dda74c91683d07a1ee055678
parent 206195 b85df6316159a9a409ae6d5366beddc90439cc9f
child 206197 2d22a8a36638dc1fcc1bed513f24b857883a2316
push id27516
push userryanvm@gmail.com
push dateFri, 19 Sep 2014 17:54:48 +0000
treeherdermozilla-central@b00bdb144e06 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib
bugs1063808
milestone35.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 1063808 - fix offerRequiresVideo to request video instead of audio. r=jib
dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveVideo.html
--- a/dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveVideo.html
+++ b/dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveVideo.html
@@ -15,15 +15,15 @@
     bug: "850275",
     title: "Simple offer media constraint test with video"
   });
 
   runNetworkTest(function() {
     var test = new PeerConnectionTest();
     // TODO: Stop using old constraint-like RTCOptions soon (Bug 1064223).
     // Watch out for case-difference when fixing: { offerToReceiveVideo: true }
-    test.setOfferOptions({ optional: [{ OfferToReceiveAudio: true }] });
+    test.setOfferOptions({ optional: [{ OfferToReceiveVideo: true }] });
     test.run();
   });
 </script>
 </pre>
 </body>
 </html>