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

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

Issue 2331213002: Add `disposition` to SecurityPolicyViolationEvent (Closed)
Patch Set: Fix a typo in rebased test expectation Created 4 years, 2 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
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.php'. 5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-uri-multiple.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.php 8 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-uri-mu ltiple.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.php","referrer":"","violated-directive":"img-src http:// *","effective-directive":"img-src","original-policy":"img-src http://*; script-s rc 'self'; report-uri resources/save-report.php?test=report-uri-multiple.php","b locked-uri":"ftp://blah.test","line-number":8,"source-file":"http://127.0.0.1:80 00/security/contentSecurityPolicy/report-uri-multiple.php","status-code":200}} 11 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-uri-multiple.php","referrer":"","violated-directive":"img-src http:// *","effective-directive":"img-src","original-policy":"img-src http://*; script-s rc 'self'; report-uri resources/save-report.php?test=report-uri-multiple.php","d isposition":"report","blocked-uri":"ftp://blah.test","line-number":8,"source-fil e":"http://127.0.0.1:8000/security/contentSecurityPolicy/report-uri-multiple.php ","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698