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

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

Issue 1905923004: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 7 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 that TextTrack's cues are indexed and updated in order during video playba ck. Test uses the enter and exits events on TextTrackCue.
2
3 EVENT(canplaythrough)
4 EXPECTED (testTrack.track.cues.length == '3') OK
5 RUN(video.play())
6
7 EVENT(enter)
8 This cue is the currently active cue:
9 EXPECTED ([object VTTCue] == '[object VTTCue]') OK
10 EXPECTED (currentCue.id == '1') OK
11
12 EVENT(exit)
13
14 EVENT(enter)
15 This cue is the currently active cue:
16 EXPECTED ([object VTTCue] == '[object VTTCue]') OK
17 EXPECTED (currentCue.id == '2') OK
18
19 EVENT(exit)
20
21 EVENT(enter)
22 This cue is the currently active cue:
23 EXPECTED ([object VTTCue] == '[object VTTCue]') OK
24 EXPECTED (currentCue.id == '3') OK
25
26 EVENT(exit)
27
28 END OF TEST
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698