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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-multiple-reversed-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 8: Refused to load the image 'ftp://blah.test/' because it v iolates the following Content Security Policy directive: "img-src http://*". 1 CONSOLE ERROR: line 8: Refused to load the image 'ftp://blah.test/' because it v iolates the following Content Security Policy directive: "img-src http://*".
2 2
3 CONSOLE ERROR: line 8: [Report Only] Refused to load the image 'ftp://blah.test/ ' because it violates the following Content Security Policy directive: "img-src http://*". 3 CONSOLE ERROR: line 8: [Report Only] Refused to load the image 'ftp://blah.test/ ' because it violates the following Content Security Policy directive: "img-src http://*".
4 4
5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-uri-multiple-reversed.php'. 5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-uri-multiple-reversed.php'.
6 CSP report received: 6 CSP report received:
7 CONTENT_TYPE: application/csp-report 7 CONTENT_TYPE: application/csp-report
8 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-uri-mu ltiple-reversed.php 8 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-uri-mu ltiple-reversed.php
9 REQUEST_METHOD: POST 9 REQUEST_METHOD: POST
10 === POST DATA === 10 === POST DATA ===
11 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-uri-multiple-reversed.php","referrer":"","violated-directive":"img-sr c http://*","effective-directive":"img-src","original-policy":"img-src http://*; script-src 'self'; report-uri resources/save-report.php?test=report-uri-multipl e-reversed.php","disposition":"report","blocked-uri":"ftp://blah.test","line-num ber":8,"source-file":"http://127.0.0.1:8000/security/contentSecurityPolicy/repor t-uri-multiple-reversed.php","status-code":200}} 11 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-uri-multiple-reversed.php","referrer":"","violated-directive":"img-sr c","effective-directive":"img-src","original-policy":"img-src http://*; script-s rc 'self'; report-uri resources/save-report.php?test=report-uri-multiple-reverse d.php","disposition":"report","blocked-uri":"ftp://blah.test","line-number":8,"s ource-file":"http://127.0.0.1:8000/security/contentSecurityPolicy/report-uri-mul tiple-reversed.php","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698