summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1573536.html
blob: 12831832549b0a8bc72efecf8288c7fbb24e1540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html class="reftest-wait">
<head>
    <script>
      function start () {
        window.navigator.mediaDevices.getUserMedia({
          'audio': {
            'mediaSource': 'audioCapture'
          },
          'video': true,
          'fake': true
        }).catch(() => Promise.resolve())
          .then(() => document.documentElement.removeAttribute("class"))
      }

      window.addEventListener('load', start)
    </script>
</head>
</html>