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

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

Issue 2061663002: Convert track-cues* and track-word* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nit 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 Tests TextTrack's activeCues are indexed and updated during video playback.
2
3 EVENT(canplaythrough)
4 EXPECTED (testTrack.track.cues.length == '3') OK
5 RUN(video.currentTime = 0.5)
6
7 EVENT(seeked)
8
9 EXPECTED (video.currentTime == '0.5') OK
10 EXPECTED (activeCues.length == '0') OK
11 RUN(video.currentTime = 1)
12
13 EVENT(seeked)
14
15 EXPECTED (video.currentTime == '1') OK
16 EXPECTED (activeCues.length == '1') OK
17 RUN(video.currentTime = 1.5)
18
19 EVENT(seeked)
20
21 EXPECTED (video.currentTime == '1.5') OK
22 EXPECTED (activeCues.length == '2') OK
23 RUN(video.currentTime = 2)
24
25 EVENT(seeked)
26
27 EXPECTED (video.currentTime == '2') OK
28 EXPECTED (activeCues.length == '3') OK
29 RUN(video.currentTime = 2.5)
30
31 END OF TEST
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698