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

Unified Diff: LayoutTests/media/track/opera/interfaces/TextTrack/addCue.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
« no previous file with comments | « no previous file | LayoutTests/media/track/opera/interfaces/TextTrack/cues.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html
diff --git a/LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html b/LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html
index b0bb455bf70a4b59800f4b3ac46a17843241dc58..e6eb37ae0b760c05384c2a8835401bbb801bb8ec 100644
--- a/LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html
+++ b/LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html
@@ -11,14 +11,14 @@ setup(function(){
test(function() {
var t1 = video.addTextTrack('subtitles');
var t2 = video.addTextTrack('subtitles');
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
t2.addCue(c1);
assert_equals(c1.track, t2);
}, document.title+', adding a cue to two different tracks');
test(function() {
var t1 = video.addTextTrack('subtitles');
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
assert_equals(c1.track, t1);
t1.addCue(c1);
@@ -27,7 +27,7 @@ test(function() {
test(function() {
var t1 = video.addTextTrack('subtitles');
var t2 = video.addTextTrack('subtitles');
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
assert_equals(c1.track, t1);
t1.removeCue(c1);
@@ -37,7 +37,7 @@ test(function() {
}, document.title+', adding a removed cue to a different track');
test(function() {
var t1 = video.addTextTrack('subtitles');
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
assert_equals(t1.cues.length, 1, 't1.cues.length after first addition');
t1.removeCue(c1);
« no previous file with comments | « no previous file | LayoutTests/media/track/opera/interfaces/TextTrack/cues.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698