gecko-dev/dom/media/test/crashtests/789075-1.html
bechen 6a5e557c75 Bug 1370838 - Because we need to ensure frame shown on the screen, so play the video to the end. r=jerry,jwwang
MozReview-Commit-ID: 7VPgbaozgSF

--HG--
extra : rebase_source : 8fdb3c8e408dd4f8e0875f15daa7b2ded0d99552
2017-06-19 13:43:10 +08:00

21 lines
519 B
HTML

<!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>