blob: de624016c09a2aaa9b6e43aa3a3f06a40d044ef5 [file] [log] [blame]
<html>
<body>
<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("waiting");
function onpause()
{
testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
endTest();
consoleWrite("");
}
waitForEvent("pause", onpause);
run("video.play()");
run("video.pause()");
</script>
</body>
</html>