Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7b404f3fe5ab07e5b78c1040fb09184d191b029 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-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 value 'same' should block render in same-origin nested frames."); |
+ |
+ testNestedIFrame("'self'", SAME_ORIGIN, SAME_ORIGIN, EXPECT_LOAD); |
+ </script> |
+</body> |
+</html> |