summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/priority/file_Audio.html
blob: 97f4dc64d4718a1d7500798c47913c138e6d4efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<body>

<script>
addEventListener('load', function() {
  setTimeout(function() {
    var a = document.getElementById('audio');
    a.onplay = function() {
      alert('onplay');
    };
    a.play();
  }, 0);
});
</script>

<audio id='audio' loop src='silence.ogg'>

</body>
</html>