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

Side by Side Diff: LayoutTests/http/tests/misc/javascript-url-stop-loaders.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test-pre.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 var str = "<script type='text/javascript' src='http://127.0.0.1:8000/misc/resour ces/hang-connection.php'><" + "/script>"; 6 var str = "<script type='text/javascript' src='http://127.0.0.1:8000/misc/resour ces/hang-connection.php'><" + "/script>";
7 7
8 function loadFirst() 8 function loadFirst()
9 { 9 {
10 document.getElementById("ad").src = "javascript: window.parent.str"; 10 document.getElementById("ad").src = "javascript: window.parent.str";
11 } 11 }
12 12
13 function finish() 13 function finish()
14 { 14 {
(...skipping 14 matching lines...) Expand all
29 29
30 setTimeout("loadFirst();", 0); 30 setTimeout("loadFirst();", 0);
31 setTimeout("loadSecond();", 0); 31 setTimeout("loadSecond();", 0);
32 </script> 32 </script>
33 </head> 33 </head>
34 <body> 34 <body>
35 <p>This test checks whether loading a JavaScript URL cancels loaders. If it fail s, it will give an assertion failure in Debug builds.</p> 35 <p>This test checks whether loading a JavaScript URL cancels loaders. If it fail s, it will give an assertion failure in Debug builds.</p>
36 <iframe id="ad"></iframe> 36 <iframe id="ad"></iframe>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698