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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-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 12: 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 12: 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 9: [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-YQwmkO9U3gKLwAFFj9h7BeOrJNIo 50emf5tmL1p32RY='), or a nonce ('nonce-...') is required to enable inline execut ion. 3 CONSOLE ERROR: line 9: [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-YQwmkO9U3gKLwAFFj9h7BeOrJNIo 50emf5tmL1p32RY='), or a nonce ('nonce-...') is required to enable inline execut ion.
4 4
5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-and-enforce.php'. 5 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-and-enforce.php'.
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.php 9 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-and-en force.php
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.php","referrer":"","violated-directive":"script-src 'self '","effective-directive":"script-src","original-policy":"script-src 'self'; repo rt-uri resources/save-report.php?test=report-and-enforce.php","blocked-uri":"inl ine","line-number":9,"status-code":200}} 12 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-and-enforce.php","referrer":"","violated-directive":"script-src 'self '","effective-directive":"script-src","original-policy":"script-src 'self'; repo rt-uri resources/save-report.php?test=report-and-enforce.php","disposition":"rep ort","blocked-uri":"inline","line-number":9,"status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698