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

Unified Diff: LayoutTests/media/track/track-webvtt-tc022-entities-expected.txt

Issue 97103002: Fix corner-cases for WebVTT tokenizer escape handling (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-tc022-entities-expected.txt
diff --git a/LayoutTests/media/track/track-webvtt-tc022-entities-expected.txt b/LayoutTests/media/track/track-webvtt-tc022-entities-expected.txt
index 262061690a5fa03095db618b6170a46a4a27ff80..de8f7937b70be1d461c6009f2809de94aecf32c5 100644
--- a/LayoutTests/media/track/track-webvtt-tc022-entities-expected.txt
+++ b/LayoutTests/media/track/track-webvtt-tc022-entities-expected.txt
@@ -2,18 +2,18 @@ Tests entities in the cue text.
*** Testing text track 0
-EXPECTED (cues.length == '6') OK
-EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has an amp & character.') OK
+EXPECTED (cues.length == '7') OK
+EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has an ampersand & character.') OK
EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a less than < character.') OK
EXPECTED (cues[2].getCueAsHTML().textContent == 'This cue has a greater than > character.') OK
EXPECTED (cues[3].getCueAsHTML().textContent == 'This cue has a Left-to-Right Mark ‎.') OK
EXPECTED (cues[4].getCueAsHTML().textContent == 'This cue has a Right-to-Left Mark ‏.') OK
EXPECTED (cues[5].getCueAsHTML().textContent == 'This cue has a non-breaking space  .') OK
+EXPECTED (cues[6].getCueAsHTML().textContent == 'This & is parsed to the same as &.') OK
*** Testing text track 1
-EXPECTED (cues.length == '3') OK
-EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has an amp character. Ampersand is ignored.') OK
-EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a less than ') OK
-EXPECTED (cues[2].getCueAsHTML().textContent == 'This cue has a greater than > character. Since it's not related to a < character, it's just interpreted as text.') OK
+EXPECTED (cues.length == '2') OK
+EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has a less than ') OK
+EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a greater than > character. Since it's not related to a < character, it's just interpreted as text.') OK
END OF TEST
« no previous file with comments | « LayoutTests/media/track/track-webvtt-tc022-entities.html ('k') | Source/core/html/track/vtt/VTTTokenizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698