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

Unified Diff: LayoutTests/media/track/opera/interfaces/VTTCue/line.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/VTTCue/line.html
diff --git a/LayoutTests/media/track/opera/interfaces/TextTrackCue/line.html b/LayoutTests/media/track/opera/interfaces/VTTCue/line.html
similarity index 93%
rename from LayoutTests/media/track/opera/interfaces/TextTrackCue/line.html
rename to LayoutTests/media/track/opera/interfaces/VTTCue/line.html
index 633921ade85cac0c3097bf730a014bdf459e0100..7df65eb338c9f0ff164fc3873eba349debcd3177 100644
--- a/LayoutTests/media/track/opera/interfaces/TextTrackCue/line.html
+++ b/LayoutTests/media/track/opera/interfaces/VTTCue/line.html
@@ -1,5 +1,5 @@
<!doctype html>
-<title>TextTrackCue.line</title>
+<title>VTTCue.line</title>
<script src=../../../../../resources/testharness.js></script>
<script src=../../../../../resources/testharnessreport.js></script>
<div id=log></div>
@@ -7,7 +7,7 @@
test(function(){
var video = document.createElement('video');
document.body.appendChild(video);
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
assert_equals(c1.line, -1);
var track = document.createElement('track');
var t = track.track;
@@ -17,7 +17,7 @@ test(function(){
assert_equals(c1.line, -1);
t.mode = 'showing';
assert_equals(c1.line, -1);
- var c2 = new TextTrackCue(0, 1, 'text2');
+ var c2 = new VTTCue(0, 1, 'text2');
var track2 = document.createElement('track');
var t2 = track2.track;
t2.addCue(c2);

Powered by Google App Engine
This is Rietveld 408576698