Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc017-line-position.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc017-line-position.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc017-line-position.html |
index cc2b23825ca57746ca43e5f7ac77ecabac12b2fa..4c7be7f64cedcbf24cc089b4c4f80a2c7d0c8796 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc017-line-position.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc017-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++; |
@@ -17,11 +19,11 @@ |
testTrackError(1); |
} |
} |
- |
+ |
function testTrack(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 7, |
tests: |
@@ -37,14 +39,14 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
function testTrackError(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 6, |
tests: |
@@ -60,7 +62,7 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
</script> |