| Index: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html
|
| index c1619bf4c90960b4fef6ec7e9ad4e213c688a02e..258e7cd8ace90011a4f5a77b243730105c777d33 100644
|
| --- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html
|
| +++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html
|
| @@ -1,36 +1,17 @@
|
| <!DOCTYPE html>
|
| -<html>
|
| - <head>
|
| - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
| +<title>Test, rendering horizontal line-positioned cues.</title>
|
| +<script src="../media-file.js"></script>
|
| +<video>
|
| + <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="captions" default>
|
| +</video>
|
| +<script>
|
| +var video = document.querySelector("video");
|
| +video.src = findMediaFile("video", "../content/test");
|
|
|
| - <script src=../media-file.js></script>
|
| +testRunner.waitUntilDone();
|
| +video.onseeked = function() {
|
| + testRunner.notifyDone();
|
| +}
|
|
|
| - <script>
|
| - var requirePixelDump = true;
|
| -
|
| - function loaded()
|
| - {
|
| - consoleWrite("Rendering horizontal line-positioned cues.");
|
| - findMediaElement();
|
| -
|
| - testTrack = document.querySelector('track');
|
| - video.src = findMediaFile('video', '../content/test');
|
| -
|
| - waitForEvent('seeked', endTest);
|
| - waitForEvent('canplaythrough', function() {
|
| - video.currentTime = .25;
|
| - });
|
| - }
|
| -
|
| - </script>
|
| -
|
| - <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
|
| - (Please avoid writing new tests using video-test.js) -->
|
| - <script src=../video-test.js></script>
|
| - </head>
|
| - <body onload="loaded()">
|
| - <video>
|
| - <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="captions" default>
|
| - </video>
|
| - </body>
|
| -</html>
|
| +video.currentTime = 0.25;
|
| +</script>
|
|
|