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

Unified Diff: LayoutTests/media/track/track-webvtt-tc030-interspersed-non-cue-expected.txt

Issue 55853002: Handle empty lines in the 'TimingsAndSettings' state in the WebVTTParser (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-tc030-interspersed-non-cue-expected.txt
diff --git a/LayoutTests/media/track/track-webvtt-tc030-interspersed-non-cue-expected.txt b/LayoutTests/media/track/track-webvtt-tc030-interspersed-non-cue-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..714bbd63873e3c2a941100cf6d664e146109a43d
--- /dev/null
+++ b/LayoutTests/media/track/track-webvtt-tc030-interspersed-non-cue-expected.txt
@@ -0,0 +1,9 @@
+Tests that an empty line after an identifier line discards the current cue and restarts the cue loop.
+
+
+*** Testing text track 0
+EXPECTED (cues.length == '2') OK
+EXPECTED (cues[0].text == 'First') OK
+EXPECTED (cues[1].text == 'Second') OK
+END OF TEST
+
« no previous file with comments | « LayoutTests/media/track/track-webvtt-tc030-interspersed-non-cue.html ('k') | Source/core/html/track/WebVTTParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698