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

Side by Side Diff: LayoutTests/media/track/track-webvtt-tc011-blank-lines-expected.txt

Issue 75273002: Handle recovery on "timestamp-looking" lines in the WebVTT parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
OLDNEW
1 Tests that cues are not affected by multiple newlines \n, \r, and \r\n and that cue not properly separated are treated as one big cue. 1 Tests that cues are not affected by multiple newlines \n, \r, and \r\n and that cue not properly separated are treated as one big cue.
2 2
3 3
4 *** Testing text track 0 4 *** Testing text track 0
5 EXPECTED (cues.length == '3') OK 5 EXPECTED (cues.length == '3') OK
6 EXPECTED (cues[0].id == '1') OK 6 EXPECTED (cues[0].id == '1') OK
7 EXPECTED (cues[0].startTime == '0') OK 7 EXPECTED (cues[0].startTime == '0') OK
8 EXPECTED (cues[0].endTime == '30.5') OK 8 EXPECTED (cues[0].endTime == '30.5') OK
9 EXPECTED (cues[0].text == 'Bear is Coming!!!!!') OK 9 EXPECTED (cues[0].text == 'Bear is Coming!!!!!') OK
10 EXPECTED (cues[1].id == '2') OK 10 EXPECTED (cues[1].id == '2') OK
11 EXPECTED (cues[1].startTime == '31') OK 11 EXPECTED (cues[1].startTime == '31') OK
12 EXPECTED (cues[1].endTime == '60.5') OK 12 EXPECTED (cues[1].endTime == '60.5') OK
13 EXPECTED (cues[1].text == 'I said Bear is coming!!!!') OK 13 EXPECTED (cues[1].text == 'I said Bear is coming!!!!') OK
14 EXPECTED (cues[2].id == '3') OK 14 EXPECTED (cues[2].id == '3') OK
15 EXPECTED (cues[2].startTime == '61') OK 15 EXPECTED (cues[2].startTime == '61') OK
16 EXPECTED (cues[2].endTime == '361200.5') OK 16 EXPECTED (cues[2].endTime == '361200.5') OK
17 EXPECTED (cues[2].text == 'I said Bear is coming now!!!!') OK 17 EXPECTED (cues[2].text == 'I said Bear is coming now!!!!') OK
18 18
19 *** Testing text track 1 19 *** Testing text track 1
20 EXPECTED (cues.length == '1') OK 20 EXPECTED (cues.length == '1'), OBSERVED '3' FAIL
21 END OF TEST 21 END OF TEST
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698