diff options
Diffstat (limited to '')
-rw-r--r-- | dom/media/test/crashtests/789075-1.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/789075-1.html b/dom/media/test/crashtests/789075-1.html new file mode 100644 index 0000000000..6cd673fb75 --- /dev/null +++ b/dom/media/test/crashtests/789075-1.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<head> +</head> +<body> +<video src="789075.webm" preload="metadata" id="v"> +</video> +<!-- Note we reset 'src' to release decoder resources and cubeb streams to prevent OOM or OpenCubeb() failures. --> +<script type="application/javascript"> + var video = document.getElementById("v"); + video.onloadeddata = function () { + video.play(); + }; + video.onended = function () { + video.src=""; + document.documentElement.className = undefined; + }; +</script> +</body> +</html> |