Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-vertical.html

Issue 2081513002: Remove video-test.js dependency from track-cue-rendering* tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove video-test.js dependency Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="ja"> 2 <title>Test, rendering vertical line-positioned cues with Japanese text.</title>
3 <head> 3 <script src="../media-file.js"></script>
4 <meta charset="utf-8"> 4 <video>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="captions" default>
6 </video>
7 <script>
8 var video = document.querySelector("video");
9 video.src = findMediaFile("video", "../content/test");
6 10
7 <script src=../media-file.js></script> 11 testRunner.waitUntilDone();
12 video.onseeked = function() {
13 testRunner.notifyDone();
14 }
8 15
9 <script> 16 video.currentTime = 0.75;
10 var requirePixelDump = true; 17 </script>
11
12 function loaded()
13 {
14 consoleWrite("Rendering vertical line-positioned cues with Japanese text.");
15 findMediaElement();
16
17 testTrack = document.querySelector('track');
18 video.src = findMediaFile('video', '../content/test');
19
20 waitForEvent('seeked', endTest);
21 waitForEvent('canplaythrough', function() {
22 video.currentTime = .75;
23 });
24 }
25
26 </script>
27
28 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
29 (Please avoid writing new tests using video-test.js) -->
30 <script src=../video-test.js></script>
31 </head>
32 <body onload="loaded()">
33 <video>
34 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca ptions" default>
35 </video>
36 </body>
37 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698