blob: 03bff7ae36aeea8a404c76c1c9bcc932383773f5 [file] [log] [blame]
>
<script src=../media-file.js></script>
<script></script>
<script></script>
<script>setTimeout("try { var v = document.querySelector('video'); v.parentNode.removeChild(v); } catch(e) {}", 61);</script>
<meta><script src=../video-test.js></script>
<script>
{
}
function metadataTrackLoaded()
{
track2 = document.createElement('track');
video.appendChild(track2);
setTimeout("endTest()", 100);
}
function canplaythrough()
{
track1.track.mode = "hidden";
setTimeout("endTest()", 100);
}
function suspend()
{
setTimeout("endTest()", 100);
}
function start()
{
consoleWrite("<feOffset>");
findMediaElement();
track1 = document.querySelectorAll('track')[0];
testExpected("track1.readyState", HTMLTrackElement.NONE);
testExpected("track1.track.mode", "disabled");
video.src = findMediaFile("video", "../content/test");
consoleWrite("");
setTimeout("endTest()", 1000);
}
</script>
<body onload="start()">
<command><aside><kbd><video oncanplaythrough="canplaythrough()" onsuspend="suspend()">
<track src="captions-webvtt/metadata.vtt" onload="metadataTrackLoaded()">