Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc001-utf8.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc001-utf8.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc001-utf8.html |
index d5f110d399cd9f0085c9a80ef10d6be12bd6bab0..4794cad941aca5aa04bdd39daa9d9ab23de1b20c 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc001-utf8.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc001-utf8.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> |
- |
+ |
numberOfTrackTests = 2; |
- |
+ |
function trackLoaded() |
{ |
numberOfTracksLoaded++; |
@@ -17,11 +19,11 @@ |
testTrack1(); |
} |
} |
- |
+ |
function testTrack0() |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 2, |
tests: |
@@ -48,18 +50,18 @@ |
allTestsEnded(); |
} |
- |
+ |
function testTrack1() |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 2, |
tests: |
[], |
}; |
testCues(1, expected); |
- |
+ |
allTestsEnded(); |
} |
@@ -72,4 +74,4 @@ |
<track src="captions-webvtt/tc001-iso2022jp3.vtt" onload="trackLoaded()"> |
</video> |
</body> |
-</html> |
+</html> |