blob: 035a0675f204be5555c4dc616d9e3eff9517f486 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test nomodule prevents execution of classic script.');
window.executed = false;
</script>
<script nomodule>
window.executed = true;
testFailed("error");
</script>
<script>
shouldBeFalse(`executed`);
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>