dom/media/tests/crashtests/799419.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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     }
    14     function boom() {
    15       var v0 = new mozRTCPeerConnection();
    16       var v1 = new mozRTCPeerConnection();
    17       var v2 = document.getElementById("pc1video");
    18       var v3 = document.getElementById("pc2video");
    19       navigator.mozGetUserMedia({video:true, fake: true},
    20         function(stream) {}, function() {});
    21       v0.close();
    22       v1.close();
    24       finish();
    25     }
    26   </script>
    27 </head>
    28 <body onload="setTimeout(boom, 100)">
    29 <video id="pc1video" width="100" height="100" controls></video>
    30 <video id="pc2video" width="100" height="100" controls></video>
    31 </body>
    32 </html>

mercurial