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

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

Issue 2077833002: Convert video-currentTime* tests to testharness.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time
2
3 EVENT(canplaythrough)
4 EXPECTED (video.currentTime == '0') OK
5 RUN(video.currentTime = video.duration - 0.2)
6 EVENT(seeked)
7 EXPECTED (video.currentTime.toFixed(2) == '5.82') OK
8 RUN(video.play())
9
10 EVENT(ended)
11 END OF TEST
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698