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

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

Issue 63173020: Split VTTCue from TextTrackCue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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. 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 2
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 EXPECTED (testTrack.track.cues.length == '3') OK 4 EXPECTED (testTrack.track.cues.length == '3') OK
5 RUN(video.play()) 5 RUN(video.play())
6 6
7 EVENT(enter) 7 EVENT(enter)
8 This cue is the currently active cue: 8 This cue is the currently active cue:
9 EXPECTED ([object TextTrackCue] == '[object TextTrackCue]') OK 9 EXPECTED ([object VTTCue] == '[object VTTCue]') OK
10 EXPECTED (currentCue.id == '1') OK 10 EXPECTED (currentCue.id == '1') OK
11 11
12 EVENT(exit) 12 EVENT(exit)
13 13
14 EVENT(enter) 14 EVENT(enter)
15 This cue is the currently active cue: 15 This cue is the currently active cue:
16 EXPECTED ([object TextTrackCue] == '[object TextTrackCue]') OK 16 EXPECTED ([object VTTCue] == '[object VTTCue]') OK
17 EXPECTED (currentCue.id == '2') OK 17 EXPECTED (currentCue.id == '2') OK
18 18
19 EVENT(exit) 19 EVENT(exit)
20 20
21 EVENT(enter) 21 EVENT(enter)
22 This cue is the currently active cue: 22 This cue is the currently active cue:
23 EXPECTED ([object TextTrackCue] == '[object TextTrackCue]') OK 23 EXPECTED ([object VTTCue] == '[object VTTCue]') OK
24 EXPECTED (currentCue.id == '3') OK 24 EXPECTED (currentCue.id == '3') OK
25 25
26 EVENT(exit) 26 EVENT(exit)
27 27
28 END OF TEST 28 END OF TEST
29 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698