blob: d73cea7f2e9878a0df4c1cf7979e35f1eddaf6ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
function boom()
{
var a = document.getElementById("a");
a.play();
a.onplaying = function () {
a.onplaying = null;
// Note we reset 'src' to release decoder resources and cubeb streams to
// prevent OOM or OpenCubeb() failures.
a.src = "";
document.documentElement.className = "";
}
}
</script>
</head>
<body>
<video id="a" src="cors.webm" crossorigin preload="metadata" onloadedmetadata="boom();">
</body>
</html>
|