Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc018-align-text-line-position.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc018-align-text-line-position.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc018-align-text-line-position.html |
index 59032dc046c117bae136542ed224cc5e13a5e0fd..917490f2ddd3c7870b162e0249e1a659a3a9acc8 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc018-align-text-line-position.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc018-align-text-line-position.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++; |
@@ -18,11 +20,11 @@ |
} |
} |
- |
+ |
function testTrack(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 5, |
tests: |
@@ -46,14 +48,14 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
function testTrackError(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 3, |
tests: |
@@ -77,7 +79,7 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
</script> |