blob: a671d782c46bba4d329e9bafe1b653e18e06f289 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test module with "src" attribute does not work in XHTML document.');
// 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="./script-tests/module-src-simple.js"></script>
<script>
window.addEventListener('load', function () {
shouldBe(`window.exportedCocoa`, `undefined`);
finishJSTest();
});
</script>
</body>
</html>