Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-url-allow.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-url-allow.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-url-allow.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3ead33e50bf16be4b0fd81ac98217f66e3ceddb |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-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 value should block or allow rendering in nested frames as appropriate."); |
+ |
+ testNestedIFrame(SAMEORIGIN_ORIGIN + " " + CROSSORIGIN_ORIGIN, CROSS_ORIGIN, SAME_ORIGIN, EXPECT_LOAD); |
+ </script> |
+</body> |
+</html> |