OLD | NEW |
---|---|
(Empty) | |
1 Test that the resource selection algorithm is restarted when load() is called, a nd that all <source> elements are reconsidered. | |
2 | |
3 +++ Test initial networkState. | |
4 EXPECTED (video.networkState == '0') OK | |
5 | |
6 +++ Add <source> elements to trigger loading, test networkState. | |
7 EXPECTED (video.networkState == '3') OK | |
8 EVENT(error) | |
9 EVENT(canplaythrough) | |
10 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/test') OK | |
11 | |
12 +++ Calling load(). | |
13 EVENT(error) | |
14 EVENT(canplaythrough) | |
15 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/test') OK | |
16 END OF TEST | |
17 | |
OLD | NEW |