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); |