WebCore:
[WebKit-https.git] / LayoutTests / http / tests / media / remove-while-loading.html
1 <video></video>
2 <p>Test that removing a media element from the tree while loading does not crash.</p>
3 <script src=../../../media/video-test.js></script>
4 <script>
5 waitForEvent('loadedmetadata', function () {
6     run("document.body.removeChild(video)");
7     endTestLater();
8 } );
9 video.src = "http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/content/test.mp4&stallAt=80000";
10 </script>