upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / media / video-source-error-expected.txt
1 1. Test that errors fired while evaluating/loading <source> elements are fired at the <source> and not at the <video> element. 
2 2. Verifiy that an 'error' event fired while processing/loading a <source> element does not set the media element's 'error' attribute.
3
4 EVENT(loadstart)
5 EVENT(error) from <source id='missing-src' src=''> OK
6 EXPECTED (video.error == 'null') OK
7
8 EVENT(error) from <source id='bogus-type' src='content/test.mp4'> OK
9 EXPECTED (video.error == 'null') OK
10
11 EVENT(error) from <source id='unsupported-media-query' src='content/test.mp4'> OK
12 EXPECTED (video.error == 'null') OK
13
14 EVENT(error) from <source id='missing-file' src='content/error2.mpeg'> OK
15 EXPECTED (video.error == 'null') OK
16
17 EVENT(error) from <source id='format-error' src='content/unsupported_track.mov'> OK
18 EXPECTED (video.error == 'null') OK
19
20 EVENT(durationchange)
21 EVENT(loadeddata)
22
23 EXPECTED (relativeURL(video.currentSrc) == 'content/test.mp4') OK
24 EXPECTED (video.error == 'null') OK
25
26 END OF TEST
27