Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc007-cue-no-id.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc007-cue-no-id.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc007-cue-no-id.html |
index aa4eb6bab0770a97b2bd824d671182bff1766277..3ed29fd718a3c0b4c51ea88728d427dab6b1fd18 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc007-cue-no-id.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc007-cue-no-id.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 = 2; |
- |
+ |
function trackLoaded() |
{ |
numberOfTracksLoaded++; |
@@ -17,12 +19,12 @@ |
testTrack1(); |
} |
} |
- |
- |
+ |
+ |
function testTrack0() |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 3, |
tests: |
@@ -53,7 +55,7 @@ |
function testTrack1() |
{ |
findMediaElement(); |
- var expected = |
+ var expected = |
{ |
length : 0, |
tests: |
@@ -72,4 +74,4 @@ |
<track src="captions-webvtt/tc007-cue-no-id-error.vtt" onload="trackLoaded()"> |
</video> |
</body> |
-</html> |
+</html> |