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

Side by Side Diff: webkit/data/layout_tests/platform/chromium-mac/LayoutTests/media/video-src-change-expected.txt

Issue 345004: Rebaseline media tests after http://trac.webkit.org/changeset/50063 . (Closed)
Patch Set: Created 11 years, 1 month 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
1 1. Test that an invalid src attribute fires an error when the file fails to load . 1 1. Test that an invalid src attribute fires an error when the file fails to load .
2 2. Test that changing src attribute triggers load after a load fails. 2 2. Test that changing src attribute triggers load after a load fails.
3 3. Test that changing src does not trigger load once a file is loaded. 3 3. Test that changing src does not trigger load once a file is known to be valid .
4 4
5 5
6 EVENT(error) 6 EVENT(error)
7 EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK 7 EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK
8 EXPECTED (video.networkState == '4') OK 8 EXPECTED (video.networkState == '4') OK
9 EXPECTED (video.error.code == '4') OK 9 EXPECTED (video.error.code == '4') OK
10 10
11 RUN(video.setAttribute('src', 'content/test.ogv')) 11 RUN(video.setAttribute('src', 'content/test.ogv'))
12 12
13 EVENT(loadedmetadata) 13 EVENT(loadedmetadata)
14 EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK 14 EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK
15 EXPECTED (isNaN(video.duration) == 'false') OK 15 EXPECTED (isNaN(video.duration) == 'false') OK
16 16
17 RUN(video.setAttribute('src', 'content/silence.mpg')) 17 RUN(video.setAttribute('src', 'content/silence.mpg'))
18 18
19 END OF TEST 19 END OF TEST
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698