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