summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1429507_1.html
blob: 894abf911a38c6ba4d839e1d8047d0e27263988b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
  <body>
    <script>
      try { o1 = window.open("") } catch (e) {}
      try { o1.location.reload() } catch (e) {}
      try { o2 = new RTCPeerConnection({iceServers: [{"url": "stun:d"}]}) } catch (e) {}
      try { o1.navigator.mediaDevices.getUserMedia({video: true, fake: true}).catch((error) => {}) } catch (e) {}
      try { o2.createOffer({offerToReceiveVideo: true}).then((offer) => {
        try { o1.navigator.mediaDevices.getUserMedia({video: true}) } catch (e) {};
      }) } catch (e) {}
    </script>
  </body>
</html>