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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/video-seek-to-duration-expected.txt

Issue 2177793003: Convert video-seek* and video-served* http tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 Test event dispatches and attribute changes for seek to duration
2
3 RUN(video.play())
4 EVENT(durationchange)
5 EVENT(loadedmetadata)
6 EVENT(loadeddata)
7 EXPECTED (video.currentTime < video.duration == 'true') OK
8 EXPECTED (video.ended == 'false') OK
9 EXPECTED (video.paused == 'false') OK
10 Starting seek to duration by setting video.currentTime to video.duration
11 EXPECTED (video.currentTime == video.duration == 'true') OK
12 EXPECTED (video.seeking == 'true') OK
13 EXPECTED (video.ended == 'true') OK
14 EVENT(seeking)
15 EXPECTED (video.seeking == 'true') OK
16 EXPECTED (video.ended == 'true') OK
17 EXPECTED (video.currentTime == video.duration == 'true') OK
18 EXPECTED (video.paused == 'false') OK
19 EVENT(timeupdate)
20 EXPECTED (video.seeking == 'false') OK
21 EXPECTED (video.ended == 'true') OK
22 EXPECTED (video.currentTime == video.duration == 'true') OK
23 EVENT(seeked)
24 EXPECTED (video.seeking == 'false') OK
25 EXPECTED (video.ended == 'true') OK
26 EXPECTED (video.currentTime == video.duration == 'true') OK
27 EVENT(pause)
28 EXPECTED (video.paused == 'true') OK
29 EXPECTED (video.seeking == 'false') OK
30 EXPECTED (video.ended == 'true') OK
31 EXPECTED (video.currentTime == video.duration == 'true') OK
32 EVENT(ended)
33 EXPECTED (video.seeking == 'false') OK
34 EXPECTED (video.ended == 'true') OK
35 EXPECTED (video.paused == 'true') OK
36 EXPECTED (video.currentTime == video.duration == 'true') OK
37 END OF TEST
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698