<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> | |
<head> | |
<script src="../../js-test-resources/js-test-pre.js"></script> | |
</head> | |
<body onload="debug('load');finishJSTest();"> | |
Checks that the async attribute takes precendence over defer. | |
<div id="console"></div> | |
<script> | |
var jsTestIsAsync = true; | |
document.addEventListener("DOMContentLoaded", function() { | |
debug("DOMContentLoaded"); | |
}, false); | |
</script> | |
<script defer async src="http://127.0.0.1:8000/misc/resources/slow-async-script.cgi"></script> | |
<script src="../../js-test-resources/js-test-post.js"></script> | |
</body> | |
</html> |