summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/789075-1.html
blob: 6cd673fb75b53f61fe9e4b9cf66312140546c344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>