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

Unified Diff: LayoutTests/media/track/opera/interfaces/VTTCue/snapToLines.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/snapToLines.html
diff --git a/LayoutTests/media/track/opera/interfaces/TextTrackCue/snapToLines.html b/LayoutTests/media/track/opera/interfaces/VTTCue/snapToLines.html
similarity index 97%
rename from LayoutTests/media/track/opera/interfaces/TextTrackCue/snapToLines.html
rename to LayoutTests/media/track/opera/interfaces/VTTCue/snapToLines.html
index b70604dc0915242ad8d8233efed90580ccaa9caa..f2ae197afe7ccface5d1b61a306ab99e3fc84ec8 100644
--- a/LayoutTests/media/track/opera/interfaces/TextTrackCue/snapToLines.html
+++ b/LayoutTests/media/track/opera/interfaces/VTTCue/snapToLines.html
@@ -1,5 +1,5 @@
<!doctype html>
-<title>TextTrackCue.snapToLines</title>
+<title>VTTCue.snapToLines</title>
<script src=../../../../../resources/testharness.js></script>
<script src=../../../../../resources/testharnessreport.js></script>
<div id=log></div>
@@ -10,7 +10,7 @@ setup(function(){
document.body.appendChild(video);
});
test(function(){
- var c1 = new TextTrackCue(0, 1, 'text1');
+ var c1 = new VTTCue(0, 1, 'text1');
assert_true(c1.snapToLines);
c1.line = 101;
c1.snapToLines = false;

Powered by Google App Engine
This is Rietveld 408576698