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

Side by Side Diff: LayoutTests/http/tests/security/local-video-src-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
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 src</title> 4 <title>remote &lt;video&gt; with local src</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 loadedmetadata(evt) 55 function loadedmetadata(evt)
56 { 56 {
57 logEvent(evt); 57 logEvent(evt);
58 consoleWrite(""); 58 consoleWrite("");
59 consoleWrite("<span style='color:red'>FAIL: local movie loaded s uccessfully</span>"); 59 consoleWrite("<span style='color:red'>FAIL: local movie loaded s uccessfully</span>");
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 if (window.testRunner) { 64 if (window.testRunner) {
65 localMovie = testRunner.pathToLocalResource(localMovie); 65 localMovie = testRunner.pathToLocalResource(localMovie);
66 testRunner.dumpAsText(); 66 testRunner.dumpAsText();
67 testRunner.waitUntilDone(); 67 testRunner.waitUntilDone();
68 } 68 }
69 setTimeout(hanged, 10000); 69 setTimeout(hanged, 10000);
70 70
71 function test() { 71 function test() {
72 72
73 video = document.getElementById("vid"); 73 video = document.getElementById("vid");
(...skipping 10 matching lines...) Expand all
84 84
85 <body onLoad="test()"> 85 <body onLoad="test()">
86 86
87 <video id='vid' controls></video> 87 <video id='vid' controls></video>
88 88
89 <p>Test that a remote video element can not use a local 'src'</p> 89 <p>Test that a remote video element can not use a local 'src'</p>
90 <p>This test only works in DRT</p> 90 <p>This test only works in DRT</p>
91 91
92 </body> 92 </body>
93 </html> 93 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698