Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-allow.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-allow.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-allow.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..49b436480761a1babd2acd45709141df892a5c9a |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-allow.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."); |
+ |
+ sameOriginFrameShouldBeAllowed(window.location.origin); |
+ </script> |
+</body> |
+</html> |