Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-no-timeupdate-before-playback.html
blob038624dc5bc3a21e094618d642da59b9c58bdbd4
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>Test that no timeupdate event fires during loading.</p>
5 <video></video>
6 <script src="media-file.js"></script>
7 <script src="video-test.js"></script>
8 <script>
9 waitForEvent("loadstart");
10 waitForEvent("loadedmetadata");
11 waitForEvent("loadeddata");
12 waitForEvent("canplay");
13 waitForEvent("canplaythrough", function()
15 // Let pending async events fire before ending the test.
16 window.setTimeout(function() { endTest(); }, 0);
17 });
18 waitForEventAndFail("timeupdate");
20 video.src = findMediaFile("video", "content/test");
21 </script>
22 </body>
23 </html>