blob: a3544bb6e6b700cd7d61a0acfdbc557387e6a415 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test dynamic inlined classic script with nomodule.');
window.executed = false;
// Module will be executed asynchronously.
window.jsTestIsAsync = true;
</script>
<script src="../../../resources/js-test-post.js"></script>
<script>
(function () {
var element = document.createElement("script");
element.noModule = true;
element.textContent = `
testFailed('error');
window.executed = true;
`;
document.body.appendChild(element);
setTimeout(function () {
shouldBeFalse(`executed`);
finishJSTest();
}, 100);
} ());
</script>
</body>
</html>