summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/822197.html
blob: 97abc4422993f2bcdc368a8fb3b3b7a3f580930d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html class="reftest-wait">
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=822197
-->
<head>
  <meta charset="utf-8">
  <title>Bug 822197 - Many PeerConnections with CreateOffer</title>
  <script type="application/javascript">
    var pcArray = [];

    function finish() {
      document.documentElement.removeAttribute("class");
    }

    function start() {
      for(var i = 0; i < 70; i++) {
        var pc = new RTCPeerConnection();
        pc.createOffer(function() {}, function() {});
        pcArray.push(pc);
      }
      finish();
    }
  </script>
</head>

<body onload="setTimeout(start, 100)">
</html>