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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt

Issue 131103003: CSP: Add a mechanism to disable CSP 1.1 for layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 CONSOLE ERROR: line 10: Refused to load the image 'http://127.0.0.1:8000/securit y/resources/abe.png' because it violates the following Content Security Policy d irective: "img-src 'none'". 1 CONSOLE ERROR: line 10: Refused to load the image 'http://127.0.0.1:8000/securit y/resources/abe.png' because it violates the following Content Security Policy d irective: "img-src 'none'".
2 2
3 CONSOLE ERROR: line 11: [Report Only] Refused to execute inline script because i t violates the following Content Security Policy directive: "script-src 'self'". 3 CONSOLE ERROR: line 11: [Report Only] Refused to execute inline script because i t violates the following Content Security Policy directive: "script-src 'self'".
4 4
5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-and-enforce.html'. 5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-and-enforce.html'.
6 ALERT: PASS 6 ALERT: PASS
7 CSP report received: 7 CSP report received:
8 CONTENT_TYPE: application/csp-report 8 CONTENT_TYPE: application/csp-report
9 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-and-en force.html 9 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-and-en force.html
10 REQUEST_METHOD: POST 10 REQUEST_METHOD: POST
11 === POST DATA === 11 === POST DATA ===
12 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-and-enforce.html","referrer":"","violated-directive":"script-src 'sel f'","effective-directive":"script-src","original-policy":"script-src 'self'; rep ort-uri resources/save-report.php?test=report-and-enforce.html","blocked-uri":"" ,"status-code":200}} 12 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-and-enforce.html","referrer":"","violated-directive":"script-src 'sel f'","original-policy":"script-src 'self'; report-uri resources/save-report.php?t est=report-and-enforce.html","blocked-uri":"","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698