3 <script src=../../media-resources/media-file.js
></script>
4 <script src=../../media-resources/video-test.js
></script>
6 var file
= findMediaFile("video", "http://127.0.0.1:8000/resources/test");
11 run("video.src = file");
12 waitForEvent('loadstart', onLoadStart
);
15 function onLoadStart()
17 waitForEvent('suspend', onSuspend
);
22 testExpected("video.networkState", HTMLMediaElement
.NETWORK_IDLE
, "==");
27 <body onload=
"init()">
28 <p>Test that the load eventually suspends and returns to NETWORK_IDLE.
</p>