Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39fc9cca7849f8974f987a02912f316b51caa983 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="/js-test-resources/js-test.js"></script> |
+ <script src="../../resources/frame-ancestors-test.js"></script> |
+</head> |
+<body> |
+ <script> |
+ description("A 'frame-ancestors' CSP directive with a URL matching this origin should allow rendering."); |
+ |
+ crossOriginFrameShouldBeBlocked(window.location.origin); |
+ </script> |
+</body> |
+</html> |