1 Test that 'error' events are fired from <source> element when it can not be used.
4 EVENT(error) from <source id='missing-src' src=null> OK
5 EXPECTED (video.error == 'null') OK
7 EVENT(error) from <source id='bogus-type' src='content/test.mp4'> OK
8 EXPECTED (video.error == 'null') OK
10 EVENT(error) from <source id='unsupported-media-query' src='content/test.mp4'> OK
11 EXPECTED (video.error == 'null') OK
13 EVENT(error) from <source id='empty-src' src='video-source-error-no-candidate.html'> OK
14 EXPECTED (video.error == 'null') OK
16 EVENT(error) from <source id='no-extension-no-type' src='nonexistent'> OK
17 EXPECTED (video.error == 'null') OK