blob: 0c9c5fdec55ee6067f732ce9f66340fca5a4d260 [file] [log] [blame]
<p>Test that a module script element with a crossorigin attribute loads same-origin scripts correctly when there's no access control headers in the response.</p>
<pre>FAIL</pre>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
</script>
<!-- This script should load -->
<script type="module" crossorigin="anonymous" src="resources/module-local-script.js"></script>
<script type="module">
if (window.secretness === 13) {
document.querySelector("pre").innerHTML = "PASS";
}
if (window.testRunner)
testRunner.notifyDone();
</script>