dom/media/tests/crashtests/791330.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=791330
     5 -->
     6 <head>
     7   <meta charset="utf-8">
     8   <title>PeerConnection test - operate on closed connection</title>
     9   <script type="application/javascript">
    10     function finish() {
    11       document.documentElement.removeAttribute("class");
    12     }
    14     function runTest() {
    15       var pc = new mozRTCPeerConnection();
    16       pc.close();
    18       navigator.mozGetUserMedia({audio: true, fake: true}, function (stream) {
    19         try {
    20           pc.addStream(stream);
    21           pc.createOffer(function (offer) {});
    22         }
    23         finally {
    24           stream.stop();
    26           finish();
    27         }
    28       }, function () {});
    29     }
    30   </script>
    31 </head>
    33 <body onload="setTimeout(runTest, 100)">
    34 </body>
    35 </html>

mercurial