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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-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 2: [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-MbVeEjw3Zzj1MNUWQYXDtxD7K2xZ qa56QKGb3hkp9DY='), or a nonce ('nonce-...') is required to enable inline execut ion. 1 CONSOLE ERROR: line 2: [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-MbVeEjw3Zzj1MNUWQYXDtxD7K2xZ qa56QKGb3hkp9DY='), or a nonce ('nonce-...') is required to enable inline execut ion.
2 2
3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-only.php'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-only.php'.
4 ALERT: PASS 4 ALERT: PASS
5 CSP report received: 5 CSP report received:
6 CONTENT_TYPE: application/csp-report 6 CONTENT_TYPE: application/csp-report
7 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-only.p hp 7 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-only.p hp
8 REQUEST_METHOD: POST 8 REQUEST_METHOD: POST
9 === POST DATA === 9 === POST DATA ===
10 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-only.php","referrer":"","violated-directive":"script-src 'self'","eff ective-directive":"script-src","original-policy":"script-src 'self'; report-uri resources/save-report.php?test=report-only.php","blocked-uri":"inline","line-num ber":2,"status-code":200}} 10 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-only.php","referrer":"","violated-directive":"script-src 'self'","eff ective-directive":"script-src","original-policy":"script-src 'self'; report-uri resources/save-report.php?test=report-only.php","disposition":"report","blocked- uri":"inline","line-number":2,"status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698