blob: 1b0d7e035f593a77a9d7b4d4ffa5f1442788982e [file] [log] [blame]
<body>
<p>This test passes if the module script does not load.</p>
<pre></pre>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function done(msg) {
document.querySelector("pre").innerHTML = msg;
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<script type="module">
import("http://localhost:8000/security/resources/cors-deny.php?credentials=true").then(
function() { done("FAIL");},
function() { done("PASS"); });
</script>