dom/media/test/crashtests/1384248.html
author Paul Adenot <paul@paul.cx>
Thu, 27 Jul 2017 16:02:28 +0200
changeset 420177 bda427f9dbeb7abf23bfaaecda3dfd3797f4e3f7
permissions -rw-r--r--
Bug 1384247 - Check if an HTMLMediaElement can be capture before doing it. r=dminor MozReview-Commit-ID: EWpf2qA2Yce

<html>
  <head>
    <script>
      try { o1 = document.createElement('audio') } catch(e) { }
      try { o2 = document.implementation.createDocument('', '', null).adoptNode(o1); } catch(e) { };
      try { o3 = new AudioContext('alarm') } catch(e) { }
      try { o3.createMediaElementSource(o1) } catch(e) { }
    </script>
  </head>
</html>