blob: c324e81ae445aa7c988eaf0d59492b09b2d2cde0 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test script.beforeload will be fired when the module tag with src is prepared.');
// Module will be executed asynchronously.
window.jsTestIsAsync = true;
debug('Module is not executed yet.');
</script>
<script src="../../../resources/js-test-post.js"></script>
<script type="module" onbeforeload="finishJSTest()" src="resources/module-will-fire-beforeload.js"></script>
</body>
</html>