dom/media/tests/crashtests/834100.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/media/tests/crashtests/834100.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<html class="reftest-wait">
     1.5 +  <head>
     1.6 +    <script language="javascript">
     1.7 +
     1.8 +function start() {
     1.9 +  remotePC = new mozRTCPeerConnection();
    1.10 +  var cand = new mozRTCIceCandidate(
    1.11 +                {candidate: "1 1 UDP 1 127.0.0.1 34567 type host",
    1.12 +                 sdpMid: "helloworld",
    1.13 +                 sdbMid: "helloworld", // Mis-spelt attribute for bug 833948 compatibility.
    1.14 +                 sdpMLineIndex: 1
    1.15 +                });
    1.16 +  try {remotePC.addIceCandidate(cand);} catch(e) {} // bug 842075 - remove try when fixed
    1.17 +  try {remotePC.addIceCandidate(cand, function(sdp){}, finish);} catch(e) {} // bug 842075 - remove try when fixed
    1.18 +  finish();
    1.19 +}
    1.20 +
    1.21 +function finish(arg) {
    1.22 +  document.documentElement.removeAttribute("class");
    1.23 +}
    1.24 +    </script>
    1.25 +  </head>
    1.26 +  <body onload="setTimeout(start, 100)">
    1.27 +  </body>
    1.28 +</html>

mercurial