Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / script-defer-after-slow-stylesheet.html
blob6150f680e6af9489d57b6e1d6476e5cb239910c8
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <script src="../../js-test-resources/js-test.js"></script>
6 </head>
7 <body>
8 <dvi id="description"></div>
9 <div id="console"></div>
10 <script type="text/javascript">
11 description('This tests that an inline slow stylesheet executes before deferred scripts.');
13 var jsTestIsAsync = true;
15 document.addEventListener("DOMContentLoaded", function() {
16 debug('DOMContentLoaded');
18 finishJSTest();
19 }, false);
20 </script>
22 <script src="http://127.0.0.1:8000/misc/resources/script-debug-body-background.js" defer="defer"></script>
23 <link rel="stylesheet" href="http://127.0.0.1:8000/misc/resources/slow-stylesheet.cgi">
24 <script>
25 </script>
26 </body>
27 </html>