blob: a4bafda3db0d48aa4d5f8070406a2655e92827c5 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test document.currentScript should be null when executing the module with the src attribute.');
// Module will be executed asynchronously.
window.jsTestIsAsync = true;
</script>
<script>
debug('Module is not executed yet.');
</script>
<script src="../../../resources/js-test-post.js"></script>
<script type="module" src="./resources/module-src-current-script.js"></script>
</body>
</html>