WebCore:
[WebKit-https.git] / LayoutTests / media / video-src-remove.html
1 <video src=bogus>
2     <source src=content/test.mp4></source>
3 </video>
4 <div>
5 Test that removing src attribute triggers load
6 </div>
7 <script src=video-test.js></script>
8 <script>
9 waitForEvent('emptied', function () {
10     video.removeAttribute('src')
11     waitForEventTestAndEnd('begin', "relativeURL(video.currentSrc) == 'content/test.mp4'");
12 });
13 </script>