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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-uri-cross-origin-expected.txt

Issue 2447003002: CSP: 'violated-directive' should match 'effective-directive'. (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 CONSOLE ERROR: line 4: [Report Only] Refused to load the image 'http://localhost :8080/security/resources/abe.png' because it violates the following Content Secu rity Policy directive: "img-src 'none'". 1 CONSOLE ERROR: line 4: [Report Only] Refused to load the image 'http://localhost :8080/security/resources/abe.png' because it violates the following Content Secu rity Policy directive: "img-src 'none'".
2 2
3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-blocked-uri-cross-origin.php'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-blocked-uri-cross-origin.php'.
4 CSP report received: 4 CSP report received:
5 CONTENT_TYPE: application/csp-report 5 CONTENT_TYPE: application/csp-report
6 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-blocke d-uri-cross-origin.php 6 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-blocke d-uri-cross-origin.php
7 REQUEST_METHOD: POST 7 REQUEST_METHOD: POST
8 === POST DATA === 8 === POST DATA ===
9 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-blocked-uri-cross-origin.php","referrer":"","violated-directive":"img -src 'none'","effective-directive":"img-src","original-policy":"img-src 'none'; report-uri resources/save-report.php?test=report-blocked-uri-cross-origin.php"," disposition":"report","blocked-uri":"http://localhost:8080/security/resources/ab e.png","line-number":4,"source-file":"http://127.0.0.1:8000/security/contentSecu rityPolicy/report-blocked-uri-cross-origin.php","status-code":200}} 9 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-blocked-uri-cross-origin.php","referrer":"","violated-directive":"img -src","effective-directive":"img-src","original-policy":"img-src 'none'; report- uri resources/save-report.php?test=report-blocked-uri-cross-origin.php","disposi tion":"report","blocked-uri":"http://localhost:8080/security/resources/abe.png", "line-number":4,"source-file":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-blocked-uri-cross-origin.php","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698