4 <script src=
"/js-test-resources/js-test.js"></script>
5 <link id=
"target" rel=
"import" href=
"http://localhost:8000/htmlimports/resources/cors-having-crossorigin-scripts.cgi">
9 description("This test ensures that crossorigin-marked script elements are blocked properly");
10 window
.jsTestIsAsync
= true;
12 function testAndDone()
14 shouldBe("document.externalScriptHasRun", "undefined");
15 shouldBe("document.corsExternalScriptHasRun", "undefined");
16 shouldBeTrue("document.corsExternalScriptForLocalhostHasRun");
20 // This should be called run-check.js