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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/child-src/frame-redirect-blocked-expected.txt

Issue 131103010: CSP 1.1: Introduce the 'child-src' directive. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 6 years, 11 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/child-src/frame-redirect-blocked-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/child-src/frame-redirect-blocked-expected.txt
similarity index 50%
copy from LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block-expected.txt
copy to LayoutTests/http/tests/security/contentSecurityPolicy/1.1/child-src/frame-redirect-blocked-expected.txt
index a27bcf2f683d15c6e4ba341ad653c78efde77558..04d6cb715cab8cab39332e8ec3bdad55e949b5ac 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-url-block-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/child-src/frame-redirect-blocked-expected.txt
@@ -1,4 +1,6 @@
-A 'frame-ancestors' CSP directive with a URL matching this origin should allow rendering.
+CONSOLE ERROR: Refused to frame 'http://localhost:8000/security/contentSecurityPolicy/resources/alert-fail.html' because it violates the following Content Security Policy directive: "child-src 'self'".
+
+Frames should be governed by 'child-src'. Redirects should be covered.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -9,8 +11,3 @@ PASS successfullyParsed is true
TEST COMPLETE
-
---------
-Frame: '<!--framePath //<!--frame0-->-->'
---------
-This is an IFrame sending a Content Security Policy header containing "frame-ancestors http://127.0.0.1:8000".

Powered by Google App Engine
This is Rietveld 408576698