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

Unified Diff: LayoutTests/media/text-tracks-visibility-user-override-expected.txt

Issue 1118613002: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have the flag influence automatic track selection Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/text-tracks-visibility-user-override-expected.txt
diff --git a/LayoutTests/media/text-tracks-visibility-user-override-expected.txt b/LayoutTests/media/text-tracks-visibility-user-override-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a99aa920fa1ed6e9d43ab0848449b999e8b220b4
--- /dev/null
+++ b/LayoutTests/media/text-tracks-visibility-user-override-expected.txt
@@ -0,0 +1,14 @@
+Test that closed captions visibility is overridden with user captions state setting
+EVENT(canplaythrough)
+
+Set user captions state to true and verify that the track is being displayed
+EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
+
+Set user captions state to false and verify that no track is being displayed
+No text track cue with display id '-webkit-media-text-track-display' is currently visible
+
+Set user captions state to true again and verify that the track is being displayed
+EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
+
+END OF TEST
+

Powered by Google App Engine
This is Rietveld 408576698