Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-protocolless-allow-expected.txt

Issue 658073002: CSP: Fix protocolless 'frame-ancestor' source expressions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-protocolless-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-protocolless-allow-expected.txt
similarity index 68%
copy from LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-self-allow-expected.txt
copy to LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-protocolless-allow-expected.txt
index 6edc7bceeef3de92606c4238b0b7854e3499abc8..6133f316bef969547cf0ee6c78f98d658eb3a29b 100644
--- 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-protocolless-allow-expected.txt
@@ -1,5 +1,5 @@
-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.
+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=*.0.0.1:8000'.
+A 'frame-ancestors' CSP directive with a value '*.0.0.1' should allow render in same-origin nested frames.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -13,7 +13,7 @@ TEST COMPLETE
--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
-Testing a same-origin child with a policy of "'self'" nested in a same-origin parent.
+Testing a same-origin child with a policy of "*.0.0.1:8000" nested in a same-origin parent.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -24,4 +24,4 @@ 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'".
+This is an IFrame sending a Content Security Policy header containing "frame-ancestors *.0.0.1:8000".

Powered by Google App Engine
This is Rietveld 408576698