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

Unified Diff: LayoutTests/media/track/opera/interfaces/TextTrackCueList/getter.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/track/opera/interfaces/TextTrackCueList/getter.html
diff --git a/LayoutTests/media/track/opera/interfaces/TextTrackCueList/getter.html b/LayoutTests/media/track/opera/interfaces/TextTrackCueList/getter.html
index 5759a6866b9869a32113b65956b4797947c1cf78..f5dada45496eb6bce74667edb50fdaf82b2d8081 100644
--- a/LayoutTests/media/track/opera/interfaces/TextTrackCueList/getter.html
+++ b/LayoutTests/media/track/opera/interfaces/TextTrackCueList/getter.html
@@ -12,7 +12,7 @@ setup(function(){
test(function(){
var cues = t1.cues;
assert_equals(cues[0], undefined, 'cues[0] before');
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
assert_equals(cues[0], c1, 'cues[0]');
assert_equals(cues[1], undefined, 'cues[1]');
@@ -25,7 +25,7 @@ test(function(){
assert_equals(cues[0], undefined);
cues[0] = 'foo';
assert_equals(cues[0], undefined);
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
assert_equals(cues[0], c1);
cues[0] = 'foo';
@@ -38,7 +38,7 @@ test(function(){
assert_equals(cues[0], undefined);
assert_throws(new TypeError(), function() { cues[0] = 'foo'; });
assert_equals(cues[0], undefined);
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
t1.addCue(c1);
assert_equals(cues[0], c1);
assert_throws(new TypeError(), function() { cues[0] = 'foo'; });

Powered by Google App Engine
This is Rietveld 408576698