1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../../js-test-resources/js-test.js"></script>
6 <body onload=
"debug('load');finishJSTest();">
7 Checks that the async attribute takes precendence over defer.
8 <div id=
"console"></div>
10 var jsTestIsAsync
= true;
11 document
.addEventListener("DOMContentLoaded", function() {
12 debug("DOMContentLoaded");
15 <script defer async
src=
"http://127.0.0.1:8000/misc/resources/slow-async-script.cgi"></script>