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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/child-src/frame-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 A 'frame-ancestors' CSP directive with a URL matching this origin should allow r endering. 1 CONSOLE ERROR: Refused to frame 'http://127.0.0.1:8000/security/contentSecurityP olicy/resources/alert-fail.html' because it violates the following Content Secur ity Policy directive: "child-src 'none'".
2 2
3 Frames should be governed by 'child-src'.
4
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 6
5 7
6 IFrame load event fired: the IFrame is cross-origin (or was blocked). 8 IFrame load event fired: the IFrame is cross-origin (or was blocked).
7 PASS The IFrame should have been blocked (or cross-origin). It was. 9 PASS The IFrame should have been blocked (or cross-origin). It was.
8 PASS successfullyParsed is true 10 PASS successfullyParsed is true
9 11
10 TEST COMPLETE 12 TEST COMPLETE
11 13
12
13 --------
14 Frame: '<!--framePath //<!--frame0-->-->'
15 --------
16 This is an IFrame sending a Content Security Policy header containing "frame-anc estors http://127.0.0.1:8000".
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698