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

Side by Side Diff: LayoutTests/http/tests/misc/async-and-defer-script.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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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 </head> 5 </head>
6 <body onload="debug('load');finishJSTest();"> 6 <body onload="debug('load');finishJSTest();">
7 Checks that the async attribute takes precendence over defer. 7 Checks that the async attribute takes precendence over defer.
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 var jsTestIsAsync = true; 10 var jsTestIsAsync = true;
11 document.addEventListener("DOMContentLoaded", function() { 11 document.addEventListener("DOMContentLoaded", function() {
12 debug("DOMContentLoaded"); 12 debug("DOMContentLoaded");
13 }, false); 13 }, false);
14 </script> 14 </script>
15 <script defer async src="http://127.0.0.1:8000/misc/resources/slow-async-script. cgi"></script> 15 <script defer async src="http://127.0.0.1:8000/misc/resources/slow-async-script. cgi"></script>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698