dom/media/tests/crashtests/822197.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/media/tests/crashtests/822197.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<!--
     1.7 +https://bugzilla.mozilla.org/show_bug.cgi?id=822197
     1.8 +-->
     1.9 +<head>
    1.10 +  <meta charset="utf-8">
    1.11 +  <title>Bug 822197 - Many PeerConnections with CreateOffer</title>
    1.12 +  <script type="application/javascript">
    1.13 +    var pcArray = [];
    1.14 +
    1.15 +    function finish() {
    1.16 +      document.documentElement.removeAttribute("class");
    1.17 +    }
    1.18 +
    1.19 +    function start() {
    1.20 +      for(var i = 0; i < 70; i++) {
    1.21 +        var pc = new mozRTCPeerConnection();
    1.22 +        pc.createOffer(function() {}, function() {});
    1.23 +        pcArray.push(pc);
    1.24 +      }
    1.25 +      finish();
    1.26 +    }
    1.27 +  </script>
    1.28 +</head>
    1.29 +
    1.30 +<body onload="setTimeout(start, 100)">
    1.31 +</html>

mercurial