Implement dynamic-import for WebCore
[WebKit-https.git] / LayoutTests / http / tests / security / import-module-crossorigin-loads-error-src.html
1 <body>
2 <p>This test passes if the module script does not load.</p>
3 <pre></pre>
4 <script>
5 if (window.testRunner) {
6     testRunner.dumpAsText();
7     testRunner.waitUntilDone();
8 }
9
10 function done(msg) {
11     document.querySelector("pre").innerHTML = msg;
12     if (window.testRunner)
13         testRunner.notifyDone();
14 }
15 </script>
16 <script type="module" src="./resources/import-module-crossorigin-loads-error-src.js"></script>