diff options
Diffstat (limited to 'toolkit/content/tests/browser/file_mediaPlayback.html')
-rw-r--r-- | toolkit/content/tests/browser/file_mediaPlayback.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/content/tests/browser/file_mediaPlayback.html b/toolkit/content/tests/browser/file_mediaPlayback.html new file mode 100644 index 000000000..5df0bc154 --- /dev/null +++ b/toolkit/content/tests/browser/file_mediaPlayback.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<script type="text/javascript"> +var audio = new Audio(); +audio.oncanplay = function() { + audio.oncanplay = null; + audio.play(); +}; +audio.src = "audio.ogg"; +</script> |