Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html |
index 2b4cb4b40dee90d0f627f9aa3855917f0f2d1dc1..2cc96daf827e15a95d12db280b07bafeb695765b 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc014-alignment.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> |
numberOfTrackTests = 3; |
- |
+ |
function trackLoaded() |
{ |
numberOfTracksLoaded++; |
@@ -18,11 +20,11 @@ |
testTrackError(2); |
} |
} |
- |
+ |
function testTrack(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 4, |
tests: |
@@ -41,7 +43,7 @@ |
function testTrackError(i) |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 4, |
tests: |
@@ -60,10 +62,10 @@ |
</head> |
<body onload="enableAllTextTracks()"> |
<p>Tests cue alignment from settings.</p> |
- <video> |
+ <video> |
<track src="captions-webvtt/tc014-alignment.vtt" onload="trackLoaded()"> |
<track src="captions-webvtt/tc014-alignment-ltr.vtt" onload="trackLoaded()"> |
<track src="captions-webvtt/tc014-alignment-bad.vtt" onload="trackLoaded()"> |
</video> |
</body> |
-</html> |
+</html> |