Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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