822197.html (642B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=822197 5 --> 6 <head> 7 <meta charset="utf-8"> 8 <title>Bug 822197 - Many PeerConnections with CreateOffer</title> 9 <script type="application/javascript"> 10 var pcArray = []; 11 12 function finish() { 13 document.documentElement.removeAttribute("class"); 14 } 15 16 function start() { 17 for(var i = 0; i < 70; i++) { 18 var pc = new RTCPeerConnection(); 19 pc.createOffer(function() {}, function() {}); 20 pcArray.push(pc); 21 } 22 finish(); 23 } 24 </script> 25 </head> 26 27 <body onload="setTimeout(start, 100)"> 28 </html>