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

Side by Side Diff: LayoutTests/http/tests/security/local-video-source-from-remote.html

Issue 603943002: Remove 1.3 MB of superfluous media files for LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/local-video-source-from-remote-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html lang="en"> 1 <html lang="en">
2 <head> 2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4 <title>remote &lt;video&gt; with local &lt;source&gt;</title> 4 <title>remote &lt;video&gt; with local &lt;source&gt;</title>
5 5
6 <script> 6 <script>
7 7
8 var video = null; 8 var video = null;
9 var console = null; 9 var console = null;
10 var testEnded = false; 10 var testEnded = false;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 function error(evt) 55 function error(evt)
56 { 56 {
57 logEvent(evt) 57 logEvent(evt)
58 consoleWrite(""); 58 consoleWrite("");
59 logResult("failed trying to load " + video.currentSrc, false); 59 logResult("failed trying to load " + video.currentSrc, false);
60 endTest(); 60 endTest();
61 } 61 }
62 62
63 var localMovie = "file:///tmp/LayoutTests/media/content/scaled-matri x.mov"; 63 var localMovie = "file:///tmp/LayoutTests/media/content/test.mp4";
64 var remoteUrl = "http://localhost:8000/resources/test"; 64 var remoteUrl = "http://localhost:8000/resources/test";
65 65
66 function loadedmetadata(evt) 66 function loadedmetadata(evt)
67 { 67 {
68 var src = video.currentSrc; 68 var src = video.currentSrc;
69 var localFile = localMovie.substring(localMovie.lastIndexOf("/") +1, localMovie.length) 69 var localFile = localMovie.substring(localMovie.lastIndexOf("/") +1, localMovie.length)
70 var remoteFile = remoteUrl.substring(remoteUrl.lastIndexOf("/")+ 1, remoteUrl.length) 70 var remoteFile = remoteUrl.substring(remoteUrl.lastIndexOf("/")+ 1, remoteUrl.length)
71 71
72 logEvent(evt); 72 logEvent(evt);
73 if (src.indexOf(localFile) > 0) 73 if (src.indexOf(localFile) > 0)
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 <video id='vid' controls></video> 121 <video id='vid' controls></video>
122 122
123 <p>Test that a remote video element will not use a local &lt;source&gt;, and will 123 <p>Test that a remote video element will not use a local &lt;source&gt;, and will
124 use another remote &lt;source&gt;</p> 124 use another remote &lt;source&gt;</p>
125 125
126 <p>This test only behaves correctly in DRT</p> 126 <p>This test only behaves correctly in DRT</p>
127 127
128 </body> 128 </body>
129 </html> 129 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/local-video-source-from-remote-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698