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

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

Issue 2116293004: Convert video-source-[load|moved|removed].html 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698