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

Side by Side Diff: LayoutTests/compositing/video/video-with-invalid-source.html

Issue 203173006: Change line endings of video-with-invalid-source to unix (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | 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 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.waitUntilDone(); 4 testRunner.waitUntilDone();
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 } 6 }
7 7
8 function test() { 8 function test() {
9 var v = document.createElement("video"); 9 var v = document.createElement("video");
10 document.body.appendChild(v); 10 document.body.appendChild(v);
11 var src = document.createElement("source"); 11 var src = document.createElement("source");
12 src.src = "notarealsource.txt"; 12 src.src = "notarealsource.txt";
13 v.appendChild(src); 13 v.appendChild(src);
14 src.addEventListener("error", function() { 14 src.addEventListener("error", function() {
15 if (window.testRunner) { 15 if (window.testRunner) {
16 testRunner.display(); 16 testRunner.display();
17 // If we didn't crash here, yay! Test is a success 17 // If we didn't crash here, yay! Test is a success
18 document.body.appendChild(document.createTextNode("PASS")); 18 document.body.appendChild(document.createTextNode("PASS"));
19 testRunner.notifyDone(); 19 testRunner.notifyDone();
20 } 20 }
21 }, false); 21 }, false);
22 } 22 }
23 </script> 23 </script>
24 <body onload="test()"> 24 <body onload="test()">
25 </body> 25 </body>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698