Add new access object callback
[framework/web/webkit-efl.git] / LayoutTests / media / video-src-set.html
1 <video controls></video>
2 <div>Test that setting src attribute triggers load</div>
3 <script src=media-file.js></script>
4 <script src=video-test.js></script>
5 <script>
6     var mediaFile = findMediaFile("video", "content/test");
7     video.setAttribute('src', mediaFile);
8
9     waitForEvent('loadstart', function () {
10         testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile));
11         endTest();
12     } );
13
14     video.setAttribute('src', mediaFile);
15 </script>