blob: afdf98366c56dbb9929e7de9a0d886eb958f88d5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="../../js-test-resources/js-test-pre.js"></script>
</head>
<body onload="debug('load')">
This tests for proper execution order of scripts with the defer attribute <a href="https://bugs.webkit.org/show_bug.cgi?id=20710">https://bugs.webkit.org/show_bug.cgi?id=20710</a>.
<div id="console"></div>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
debug('DOMContentLoaded');
}, false);
</script>
<script src="http://127.0.0.1:8000/misc/resources/slow-defer-script.cgi" defer="DEFER"></script>
<script src="http://127.0.0.1:8000/misc/resources/defer-script.js" defer="DEFER"></script>
<script src="http://127.0.0.1:8000/misc/resources/external-script.js"></script>
<script>
debug("inline");
</script>
</body>
</html>