dom/media/tests/crashtests/799419.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.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html class="reftest-wait">
michael@0 3 <!--
michael@0 4 https://bugzilla.mozilla.org/show_bug.cgi?id=799419
michael@0 5 -->
michael@0 6 <head>
michael@0 7 <meta charset="utf-8">
michael@0 8 <title>2 Peer Connections Create and Close + Fake Video</title>
michael@0 9 <script type="application/javascript">
michael@0 10 function finish() {
michael@0 11 document.documentElement.removeAttribute("class");
michael@0 12 }
michael@0 13
michael@0 14 function boom() {
michael@0 15 var v0 = new mozRTCPeerConnection();
michael@0 16 var v1 = new mozRTCPeerConnection();
michael@0 17 var v2 = document.getElementById("pc1video");
michael@0 18 var v3 = document.getElementById("pc2video");
michael@0 19 navigator.mozGetUserMedia({video:true, fake: true},
michael@0 20 function(stream) {}, function() {});
michael@0 21 v0.close();
michael@0 22 v1.close();
michael@0 23
michael@0 24 finish();
michael@0 25 }
michael@0 26 </script>
michael@0 27 </head>
michael@0 28 <body onload="setTimeout(boom, 100)">
michael@0 29 <video id="pc1video" width="100" height="100" controls></video>
michael@0 30 <video id="pc2video" width="100" height="100" controls></video>
michael@0 31 </body>
michael@0 32 </html>

mercurial