Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-play-pause-exception.html
blobde624016c09a2aaa9b6e43aa3a3f06a40d044ef5
1 <html>
2 <body>
3 <video controls></video>
5 <p>Video has no src. Test that the playing event is not dispatched.</p>
7 <script src=video-test.js></script>
8 <script>
9 waitForEventAndFail('playing');
11 waitForEvent("loadstart");
12 waitForEvent("timeupdate");
13 waitForEvent("waiting");
15 function onpause()
17 testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
18 endTest();
19 consoleWrite("");
22 waitForEvent("pause", onpause);
24 run("video.play()");
25 run("video.pause()");
26 </script>
27 </body>
28 </html>