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

Unified Diff: LayoutTests/media/video-controls-captions.html

Issue 72543003: Update TextTrackCue tests to use VTTCue where appropriate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/video-controls-captions.html
diff --git a/LayoutTests/media/video-controls-captions.html b/LayoutTests/media/video-controls-captions.html
index e7610c394232196ee7c0e6d627b22271c3ab9855..52baabface7f07333aba814db872748c72e2cdef 100644
--- a/LayoutTests/media/video-controls-captions.html
+++ b/LayoutTests/media/video-controls-captions.html
@@ -14,7 +14,7 @@
consoleWrite("");
consoleWrite("** Add a text track through JS to the video element **");
var t = video.addTextTrack('captions', 'English', 'en');
- t.addCue(new TextTrackCue(0.0, 10.0, 'Some random caption text'));
+ t.addCue(new VTTCue(0.0, 10.0, 'Some random caption text'));
}
function addUnloadableHTMLTrackElement()

Powered by Google App Engine
This is Rietveld 408576698