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

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

Issue 2121453003: Convert video-source-error* and video-source-inserted* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
(Empty)
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.
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='missing-file' src='content/error2.mpeg'> OK
12 EXPECTED (video.error == 'null') OK
13
14 EVENT(error) from <source id='format-error' src='content/unsupported_track.mov'> OK
15 EXPECTED (video.error == 'null') OK
16
17 EVENT(error) from <source id='supported-format-mp4' src='content/test.mp4'> OK
18 EXPECTED (video.error == 'null') OK
19
20 EVENT(durationchange)
21 EVENT(loadeddata)
22
23 EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK
24 EXPECTED (video.error == 'null') OK
25
26 END OF TEST
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698