Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / media / video-served-as-text.html
blob4c00cb3fef6e9e721135ea071c0226264d33ac10
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>media file served as 'text/plain'</title>
5 <script src=../../media-resources/media-file.js></script>
6 <script src=../../media-resources/video-test.js></script>
7 <script>
8 function loadedmetadata(evt)
10 logResult(true, "loaded media file served as text");
11 endTest();
14 function error(evt)
16 logResult(false, "failed trying to load media file served as text");
17 endTest();
20 function start()
22 findMediaElement();
24 waitForEvent('loadedmetadata', loadedmetadata);
25 waitForEvent("error", error);
26 waitForEvent("loadstart");
27 testExpected("video.error", null);
29 var movie = findMediaFile("video", "resources/test");
30 video.src = "http://127.0.0.1:8000/media/video-throttled-load.cgi?name=" + movie + "&throttle=99999&type=text/plain";
32 </script>
33 </head>
35 <body onload="start()">
36 <video controls></video>
37 </body>
38 </html>