4 <title>text file served as 'text/plain'
</title>
5 <script src=../../media-resources/video-test.js
></script>
7 function loadedmetadata(evt
)
9 logResult(false, "loaded text file served as text");
15 logResult(true, "failed trying to load text file served as text");
23 waitForEvent('loadedmetadata', loadedmetadata
);
24 waitForEvent("error", error
);
25 waitForEvent("loadstart");
26 testExpected("video.error", null);
28 var movie
= "resources/test.txt";
29 video
.src
= "http://127.0.0.1:8000/media/video-throttled-load.cgi?name=" + movie
+ "&throttle=99999&type=text/plain";
34 <body onload=
"start()">
35 <video controls
></video>