Index: LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-nested.html |
diff --git a/LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-nested.html b/LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-nested.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1485dbd70e990c1c907d7daf6263e39bcf7b4464 |
--- /dev/null |
+++ b/LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-nested.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+</script> |
+<link id="target" rel="import" href="resources/child-having-unsafe-inline-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"); |
+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> |