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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-src-change-expected.txt

Issue 2092373002: Convert video-src* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 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.
3 3. Test that changing src triggers load once a file is known to be valid.
4
5
6 EVENT(error)
7 EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK
8 EXPECTED (video.networkState == '3') OK
9 EXPECTED (video.error.code == '4') OK
10
11
12 EVENT(loadedmetadata)
13 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/test') OK
14 EXPECTED (isNaN(video.duration) == 'false') OK
15
16
17 EVENT(loadedmetadata)
18 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/counting') O K
19 EXPECTED (isNaN(video.duration) == 'false') OK
20
21 END OF TEST
22
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-src-change.html ('k') | third_party/WebKit/LayoutTests/media/video-src-empty.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698