Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..578f5382b3e6ea02cfed90d997659ea93ceed689 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-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 value 'none' should block rendering in nested frames."); |
+ |
+ testNestedIFrame("'none'", CROSS_ORIGIN, CROSS_ORIGIN, EXPECT_BLOCK); |
+ </script> |
+</body> |
+</html> |