Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-nested-same-in-cross-url-block.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-nested-same-in-cross-url-block.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-nested-same-in-cross-url-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5d2fc57ac14e52f27c8e2afe14108930e26d0003 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-nested-same-in-cross-url-block.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+ <script src="support/frame-ancestors-test.sub.js"></script> |
+</head> |
+<body> |
+ <script> |
+ test = async_test("A 'frame-ancestors' CSP directive with a URL value should block or allow rendering in nested frames as appropriate."); |
+ |
+ testNestedIFrame(SAMEORIGIN_ORIGIN, CROSS_ORIGIN, SAME_ORIGIN, EXPECT_BLOCK); |
+ </script> |
+</body> |
+</html> |