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

Unified Diff: LayoutTests/media/track/track-add-remove-cue.html

Issue 965683002: Fix TextTrackMode test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/media/track/track-add-remove-cue-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-add-remove-cue.html
diff --git a/LayoutTests/media/track/track-add-remove-cue.html b/LayoutTests/media/track/track-add-remove-cue.html
index a60de24937c95802d0ec79ba1a3854803cba8f66..5b790f54a9ed51164dc3c637d6ddb00d44c8f92f 100644
--- a/LayoutTests/media/track/track-add-remove-cue.html
+++ b/LayoutTests/media/track/track-add-remove-cue.html
@@ -49,7 +49,7 @@
consoleWrite("<br>*** create a new cue and add it to a track created with video.addTextTrack, make sure it is inserted correctly.");
findMediaElement();
run('newTrack = video.addTextTrack("subtitles", "French subtitles", "fr")');
- newTrack.mode = 2;
+ run('newTrack.mode = "showing"');
run('newTrack.addCue(new VTTCue(0.0, 1.0, "Test!"))');
run('newCue = newTrack.cues[0]');
testExpected("newCue.track", newTrack);
« no previous file with comments | « no previous file | LayoutTests/media/track/track-add-remove-cue-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698