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>
8 function loadedmetadata(evt
)
10 logResult(true, "loaded media file served as text");
16 logResult(false, "failed trying to load media file served as text");
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";
35 <body onload=
"start()">
36 <video controls
></video>