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