dom/media/tests/crashtests/799419.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/media/tests/crashtests/799419.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<!--
     1.7 +https://bugzilla.mozilla.org/show_bug.cgi?id=799419
     1.8 +-->
     1.9 +<head>
    1.10 +  <meta charset="utf-8">
    1.11 +  <title>2 Peer Connections Create and Close + Fake Video</title>
    1.12 +  <script type="application/javascript">
    1.13 +    function finish() {
    1.14 +      document.documentElement.removeAttribute("class");
    1.15 +    }
    1.16 +
    1.17 +    function boom() {
    1.18 +      var v0 = new mozRTCPeerConnection();
    1.19 +      var v1 = new mozRTCPeerConnection();
    1.20 +      var v2 = document.getElementById("pc1video");
    1.21 +      var v3 = document.getElementById("pc2video");
    1.22 +      navigator.mozGetUserMedia({video:true, fake: true},
    1.23 +        function(stream) {}, function() {});
    1.24 +      v0.close();
    1.25 +      v1.close();
    1.26 +
    1.27 +      finish();
    1.28 +    }
    1.29 +  </script>
    1.30 +</head>
    1.31 +<body onload="setTimeout(boom, 100)">
    1.32 +<video id="pc1video" width="100" height="100" controls></video>
    1.33 +<video id="pc2video" width="100" height="100" controls></video>
    1.34 +</body>
    1.35 +</html>

mercurial