Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc019-cue-size.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc019-cue-size.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc019-cue-size.html |
index dec20737c26f6583d10c1ce73eee4007020c8d32..84532445b4a94affff06f63301fc702333a82161 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc019-cue-size.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc019-cue-size.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: |
@@ -33,14 +35,14 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
function testTrackError(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 3, |
tests: |
@@ -52,7 +54,7 @@ |
], |
}; |
testCues(i, expected); |
- |
+ |
allTestsEnded(); |
} |
</script> |
@@ -64,4 +66,4 @@ |
<track src="captions-webvtt/tc019-cue-size-bad.vtt" onload="trackLoaded()"> |
</video> |
</body> |
-</html> |
+</html> |