blob: 9fbd1ef45d65d7e0f8274807663cf9da0c0950bd [file] [log] [blame]
<video controls></video>
<p>Video has no src. Test that the playing event is not dispatched.</p>
<script src=video-test.js></script>
<script>
waitForEventAndFail('playing');
waitForEvent("loadstart");
waitForEvent("timeupdate");
waitForEvent("pause");
waitForEvent("waiting");
run("video.play()");
run("video.pause()");
function someTimeLater()
{
testExpected("video.networkState", HTMLMediaElement.NETWORK_NO_SOURCE);
endTest();
consoleWrite("");
}
setTimeout(someTimeLater, 400)
</script>