| Index: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc004-magic-header.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc004-magic-header.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc004-magic-header.html
|
| index 18998c57aac90a6859eff249fbd4618ae02132f3..e7c39dcf18549e64b7958701101c91dc10c912a3 100644
|
| --- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc004-magic-header.html
|
| +++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc004-magic-header.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 : 2,
|
| tests:
|
| @@ -49,11 +51,11 @@
|
|
|
| allTestsEnded();
|
| }
|
| -
|
| +
|
| function testTrackError(i)
|
| {
|
| findMediaElement();
|
| - var expected =
|
| + var expected =
|
| {
|
| length : 0,
|
| tests:
|
| @@ -73,4 +75,4 @@
|
| <track src="captions-webvtt/tc004-no-webvtt.vtt" onerror="trackLoaded()">
|
| </video>
|
| </body>
|
| -</html>
|
| +</html>
|
|
|