799419.html (868B)
1 <!DOCTYPE HTML> 2 <html class="reftest-wait"> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=799419 5 --> 6 <head> 7 <meta charset="utf-8"> 8 <title>2 Peer Connections Create and Close + Fake Video</title> 9 <script type="application/javascript"> 10 function finish() { 11 document.documentElement.removeAttribute("class"); 12 } 13 14 function boom() { 15 var v0 = new RTCPeerConnection(); 16 var v1 = new RTCPeerConnection(); 17 var v2 = document.getElementById("pc1video"); 18 var v3 = document.getElementById("pc2video"); 19 navigator.mediaDevices.getUserMedia({video:true, fake: true}); 20 v0.close(); 21 v1.close(); 22 23 finish(); 24 } 25 </script> 26 </head> 27 <body onload="setTimeout(boom, 100)"> 28 <video id="pc1video" width="100" height="100" controls></video> 29 <video id="pc2video" width="100" height="100" controls></video> 30 </body> 31 </html>