summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_audio.html
blob: 0e4a8d7c6abce96004eaad9df130e67790ea8578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<body>
<audio src="chrome://mochitests/content/chrome/dom/browser-element/mochitest/audio.ogg" id="audio" />
<script>
var audio = document.getElementById('audio');
audio.play();
audio.onended = function() {
  setTimeout(function() {
    audio.play();
  }, 0);
}
</script>

</body>
</html>