| <p>Test that a 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(); | |
| } | |
| function loaded() { | |
| document.querySelector("pre").innerHTML = "PASS"; | |
| if (window.testRunner) | |
| testRunner.notifyDone(); | |
| } | |
| </script> | |
| <!-- This script should load --> | |
| <script crossorigin="anonymous" src="resources/localScript.js" onload="loaded()"></script> |