Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow-expected.txt |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6edc7bceeef3de92606c4238b0b7854e3499abc8 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow-expected.txt |
@@ -0,0 +1,27 @@ |
+CONSOLE MESSAGE: line 60: IFrame load event fired: the IFrame's location is 'http://127.0.0.1:8000/security/contentSecurityPolicy/resources/frame-ancestors.pl?policy=%27self%27'. |
+A 'frame-ancestors' CSP directive with a value 'same' should block render in same-origin nested frames. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS The inner IFrame passed. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame0-->-->' |
+-------- |
+Testing a same-origin child with a policy of "'self'" nested in a same-origin parent. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS The IFrame should not have been blocked. It wasn't. |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame0-->/<!--frame0-->-->' |
+-------- |
+This is an IFrame sending a Content Security Policy header containing "frame-ancestors 'self'". |