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

Unified Diff: LayoutTests/media/track/track-webvtt-tc032-degenerate-cues-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/track/track-webvtt-tc032-degenerate-cues-expected.txt
diff --git a/LayoutTests/media/track/track-webvtt-tc032-degenerate-cues-expected.txt b/LayoutTests/media/track/track-webvtt-tc032-degenerate-cues-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a290fc7374dd4680387804200b0aa8561c795ce1
--- /dev/null
+++ b/LayoutTests/media/track/track-webvtt-tc032-degenerate-cues-expected.txt
@@ -0,0 +1,16 @@
+Tests that a degenerate cues without separating blank lines are parsed correctly.
+
+
+*** Testing text track 0
+EXPECTED (cues.length == '3') OK
+EXPECTED (cues[0].startTime == '0') OK
+EXPECTED (cues[0].endTime == '1') OK
+EXPECTED (cues[0].text == '') OK
+EXPECTED (cues[1].startTime == '2') OK
+EXPECTED (cues[1].endTime == '3') OK
+EXPECTED (cues[1].text == '') OK
+EXPECTED (cues[2].startTime == '4') OK
+EXPECTED (cues[2].endTime == '5') OK
+EXPECTED (cues[2].text == '') OK
+END OF TEST
+
« no previous file with comments | « LayoutTests/media/track/track-webvtt-tc032-degenerate-cues.html ('k') | Source/core/html/track/vtt/VTTParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698