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

Side by Side Diff: LayoutTests/http/tests/media/video-buffered-unknown-duration-expected.txt

Issue 499513002: Add layout test and test media for infinite duration tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 Load a video via preloading; verify infinite duration. Start playback and ensure currentTime < end of the buffered range upon first timeupdate.
2
3 EVENT(loadeddata)
4 EXPECTED (video.buffered.length == '1') OK
5 EXPECTED (video.buffered.start(0) >= '0') OK
6 EXPECTED (video.buffered.end(0) != 'Infinity') OK
7 EXPECTED (video.currentTime == '0') OK
8 EXPECTED (video.duration == 'Infinity') OK
9 EVENT(timeupdate)
10 EXPECTED (video.duration == 'Infinity') OK
11 EXPECTED (video.buffered.start(0) >= '0') OK
12 EXPECTED (video.buffered.end(0) < '1000') OK
13 TEST(video.currentTime <= video.buffered.end(0)) OK
14 END OF TEST
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698