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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-blocked-data-uri-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 7: Refused to load the image 'data:image/gif;base64,R0lGODlh AQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' because it violates the following Content Security Policy directive: "img-src 'none'". 1 CONSOLE ERROR: line 7: Refused to load the image 'data:image/gif;base64,R0lGODlh AQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' because it violates the following Content Security 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-data-uri.php'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-blocked-data-uri.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-data-uri.php 6 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-blocke d-data-uri.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-data-uri.php","referrer":"","violated-directive":"img-src 'no ne'","effective-directive":"img-src","original-policy":"img-src 'none'; report-u ri resources/save-report.php?test=report-blocked-data-uri.php","blocked-uri":"da ta","line-number":7,"source-file":"http://127.0.0.1:8000/security/contentSecurit yPolicy/report-blocked-data-uri.php","status-code":200}} 9 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-blocked-data-uri.php","referrer":"","violated-directive":"img-src 'no ne'","effective-directive":"img-src","original-policy":"img-src 'none'; report-u ri resources/save-report.php?test=report-blocked-data-uri.php","disposition":"en force","blocked-uri":"data","line-number":7,"source-file":"http://127.0.0.1:8000 /security/contentSecurityPolicy/report-blocked-data-uri.php","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698