Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: LayoutTests/media/video-source-error-expected.txt

Issue 147933002: Remove the media attribute from the resource selection algorithm (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/video-source-error.html ('k') | LayoutTests/media/video-source-media.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1. Test that errors fired while evaluating/loading <source> elements are fired a t the <source> and not at the <video> element. 1 1. Test that errors fired while evaluating/loading <source> elements are fired a t the <source> and not at the <video> element.
2 2. Verifiy that an 'error' event fired while processing/loading a <source> eleme nt does not set the media element's 'error' attribute. 2 2. Verifiy that an 'error' event fired while processing/loading a <source> eleme nt does not set the media element's 'error' attribute.
3 3
4 EVENT(loadstart) 4 EVENT(loadstart)
5 EVENT(error) from <source id='missing-src' src=''> OK 5 EVENT(error) from <source id='missing-src' src=''> OK
6 EXPECTED (video.error == 'null') OK 6 EXPECTED (video.error == 'null') OK
7 7
8 EVENT(error) from <source id='bogus-type' src='content/test.mp4'> OK 8 EVENT(error) from <source id='bogus-type' src='content/test.mp4'> OK
9 EXPECTED (video.error == 'null') OK 9 EXPECTED (video.error == 'null') OK
10 10
11 EVENT(error) from <source id='unsupported-media-query' src='content/test.mp4'> O K
12 EXPECTED (video.error == 'null') OK
13
14 EVENT(error) from <source id='missing-file' src='content/error2.mpeg'> OK 11 EVENT(error) from <source id='missing-file' src='content/error2.mpeg'> OK
15 EXPECTED (video.error == 'null') OK 12 EXPECTED (video.error == 'null') OK
16 13
17 EVENT(error) from <source id='format-error' src='content/unsupported_track.mov'> OK 14 EVENT(error) from <source id='format-error' src='content/unsupported_track.mov'> OK
18 EXPECTED (video.error == 'null') OK 15 EXPECTED (video.error == 'null') OK
19 16
20 EVENT(error) from <source id='supported-format-mp4' src='content/test.mp4'> OK 17 EVENT(error) from <source id='supported-format-mp4' src='content/test.mp4'> OK
21 EXPECTED (video.error == 'null') OK 18 EXPECTED (video.error == 'null') OK
22 19
23 EVENT(durationchange) 20 EVENT(durationchange)
24 EVENT(loadeddata) 21 EVENT(loadeddata)
25 22
26 EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK 23 EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK
27 EXPECTED (video.error == 'null') OK 24 EXPECTED (video.error == 'null') OK
28 25
29 END OF TEST 26 END OF TEST
30 27
OLDNEW
« no previous file with comments | « LayoutTests/media/video-source-error.html ('k') | LayoutTests/media/video-source-media.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698