dom/media/tests/crashtests/801227.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=801227
     5 -->
     6 <head>
     7   <meta charset="utf-8">
     8   <title>Abort due to page reload</title>
     9   <script type="application/javascript">
    10     var pc = new mozRTCPeerConnection();
    12     var index = localStorage.index || 0;
    13     if (index < 3) {
    14       localStorage.index = index + 1;
    15       window.location.reload();
    16     }
    18     function finish() {
    19       delete localStorage["index"];
    21       pc.close();
    22       document.documentElement.removeAttribute("class");
    23     }
    25     navigator.mozGetUserMedia({ audio: true, fake: true }, function (aStream) {
    26       pc.addStream(aStream);
    27       finish();
    28     }, finish);
    29   </script>
    30 </head>
    32 <body>
    33 </body>
    34 </html>

mercurial