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

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

Issue 69993003: Split VTTCue from TextTrackCue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test 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
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
« no previous file with comments | « LayoutTests/media/track/track-cues-cuechange-expected.txt ('k') | LayoutTests/media/track/track-disabled-addcue.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698