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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc024-timestamp-expected.txt

Issue 2051233004: Convert track-webvtt-tc[024-026] tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits 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 cues with <timestamps> tags.
2
3 EXPECTED (video.textTracks[0].cues.length == '3') OK
4 EXPECTED (video.textTracks[0].cues[0].getCueAsHTML().textContent == 'This cue is painted on.') OK
5 EXPECTED (video.textTracks[0].cues[1].getCueAsHTML().textContent == 'I said Bear is coming!!!!') OK
6 EXPECTED (video.textTracks[0].cues[2].getCueAsHTML().textContent == 'I said Bear is coming now!!!!') OK
7 EXPECTED (video.textTracks[1].cues.length == '3') OK
8 EXPECTED (video.textTracks[1].cues[0].getCueAsHTML().textContent == 'This cue is painted on. But since the last two timestamps are out of order, they are ignore d.') OK
9 EXPECTED (video.textTracks[1].cues[1].getCueAsHTML().textContent == 'I said Bear is coming!!!! All of these timestamps are before the start of the cue, so get i gnored.') OK
10 EXPECTED (video.textTracks[1].cues[2].getCueAsHTML().textContent == 'I said Bear is coming now!!!! All of these timestamps are after the end of the cue, so get ignored.') OK
11 END OF TEST
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698