Index: LayoutTests/http/tests/htmlimports/csp-import-block-but-domain.html |
diff --git a/LayoutTests/http/tests/htmlimports/csp-import-block-but-domain.html b/LayoutTests/http/tests/htmlimports/csp-import-block-but-domain.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1ae512030695b07f0bd5e4285737aa48e928c6b9 |
--- /dev/null |
+++ b/LayoutTests/http/tests/htmlimports/csp-import-block-but-domain.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+</script> |
+<link id="target" rel="import" href="resources/having-domain-policy.html"> |
+<script src="/js-test-resources/js-test-pre.js"></script> |
+</head> |
+<body> |
+<script> |
+shouldBe("document.inlineScriptHasRun", "undefined"); |
+shouldBe("document.externalScriptHasRun", "undefined"); |
+shouldBeTrue("document.corsExternalScriptHasRun"); |
+shouldBe("document.evalFromInlineHasRun", "undefined"); |
+shouldBe("document.evalFromExternalHasRun", "undefined"); |
+shouldBe("document.evalFromCorsExternalHasRun", "undefined"); |
+</script> |
+<script src="/js-test-resources/js-test-post.js"></script> |
+</body> |
+</html> |