Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / htmlimports / import-script-block-crossorigin-dynamic.html
blobcc9c689668865d9b7b480c85cbd11a18ec94bf9d
1 <!DOCTYPE html>
2 <html>
3 <head>
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">
6 </head>
7 <body>
8 <script>
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");
17 finishJSTest();
20 // This should be called run-check.js
21 function check()
23 testAndDone();
26 </script>
27 </body>
28 </html>