1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveVideoAudio.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 + <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 1.8 + <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> 1.9 + <script type="application/javascript" src="head.js"></script> 1.10 + <script type="application/javascript" src="pc.js"></script> 1.11 + <script type="application/javascript" src="templates.js"></script> 1.12 +</head> 1.13 +<body> 1.14 +<pre id="test"> 1.15 +<script type="application/javascript"> 1.16 + createHTML({ 1.17 + bug: "850275", 1.18 + title: "Simple offer media constraint test with video/audio" 1.19 + }); 1.20 + 1.21 + runTest(function() { 1.22 + var test = new PeerConnectionTest(); 1.23 + test.setOfferConstraints({ mandatory: { 1.24 + OfferToReceiveVideo: true, 1.25 + OfferToReceiveAudio: true 1.26 + }}); 1.27 + test.run(); 1.28 + }); 1.29 +</script> 1.30 +</pre> 1.31 +</body> 1.32 +</html>