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

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

Issue 2103783002: Convert video-seeking*, video-set* and video-single* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 seeking attribute is true immediately after a seek, goes back to false when seeking completes, and that a 'seeked' event is fired for each seek
2
3 EVENT(canplaythrough)
4 RUN(video.currentTime = 0.5)
5
6 EVENT(seeked)
7
8 EXPECTED (video.seeking == 'false') OK
9 EXPECTED (video.currentTime == '0.5') OK
10 RUN(video.currentTime = 1)
11 EXPECTED (video.seeking == 'true') OK
12
13 EVENT(seeked)
14
15 EXPECTED (video.seeking == 'false') OK
16 EXPECTED (video.currentTime == '1') OK
17 RUN(video.currentTime = 1.5)
18 EXPECTED (video.seeking == 'true') OK
19
20 EVENT(seeked)
21
22 EXPECTED (video.seeking == 'false') OK
23 EXPECTED (video.currentTime == '1.5') OK
24 END OF TEST
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698