summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1429507_2.html
blob: d5f15b648e31d3fa7ceef852c406cf940c84ef16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
  <body>
    <script>
      try { o1 = window.open("") } catch(e) { }
      try { o1.location.reload() } catch(e) { }
      try { o2 = o1.navigator } catch(e) { }
      try { o3 = o2.mediaDevices } catch(e) { }
      try { o4 = new XMLHttpRequest() } catch(e) { }
      try { o3.getUserMedia({video: true, fake: true }).then((stream) => {}).catch((error) => {}) } catch (e) {}
      try { o4.open("T", "aa", false) } catch(e) { }
      try { o4.send() } catch(e) { }
      try { o3.getUserMedia({video: true}).then((stream) => {}).catch((error) => {}) } catch (e) {}
    </script>
  </body>
</html>