Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc020-cue-size-align.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc020-cue-size-align.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc020-cue-size-align.html |
index 5eb3d7f8d53f5edbc3a3fc280f93eb866be32841..87be96b511c57007a79e63cb4668bf4ef5547f62 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc020-cue-size-align.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc020-cue-size-align.html |
@@ -4,11 +4,13 @@ |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<script src=../media-file.js></script> |
+ <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
+ (Please avoid writing new tests using video-test.js) --> |
<script src=../video-test.js></script> |
- <script> |
+ <script> |
var numberOfTrackTests = 2; |
- |
+ |
function trackLoaded() |
{ |
numberOfTracksLoaded++; |
@@ -17,11 +19,11 @@ |
testTrackError(1); |
} |
} |
- |
+ |
function testTrack(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 3, |
tests: |
@@ -44,7 +46,7 @@ |
function testTrackError(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 3, |
tests: |
@@ -60,7 +62,7 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
</script> |
@@ -72,4 +74,4 @@ |
<track src="captions-webvtt/tc020-cue-size-align-bad.vtt" onload="trackLoaded()"> |
</video> |
</body> |
-</html> |
+</html> |