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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode-and-sends-report-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: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Conte nt Security Policy directive: "script-src 'self' 'unsafe-inline'". 1 CONSOLE ERROR: line 12: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Conte nt Security Policy directive: "script-src 'self' 'unsafe-inline'".
2 2
3 ALERT: PASS: eval() allowed! 3 ALERT: PASS: eval() allowed!
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/eval-allowed- in-report-only-mode-and-sends-report.php 6 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/eval-allowed- in-report-only-mode-and-sends-report.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/eval-allowed-in-report-only-mode-and-sends-report.php","referrer":"","violat ed-directive":"script-src 'self' 'unsafe-inline'","effective-directive":"script- src","original-policy":"script-src 'self' 'unsafe-inline'; report-uri resources/ save-report.php?test=eval-allowed-in-report-only-mode-and-sends-report.php","blo cked-uri":"eval","line-number":12,"column-number":13,"source-file":"http://127.0 .0.1:8000/security/contentSecurityPolicy/eval-allowed-in-report-only-mode-and-se nds-report.php","status-code":200}} 9 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/eval-allowed-in-report-only-mode-and-sends-report.php","referrer":"","violat ed-directive":"script-src 'self' 'unsafe-inline'","effective-directive":"script- src","original-policy":"script-src 'self' 'unsafe-inline'; report-uri resources/ save-report.php?test=eval-allowed-in-report-only-mode-and-sends-report.php","dis position":"report","blocked-uri":"eval","line-number":12,"column-number":13,"sou rce-file":"http://127.0.0.1:8000/security/contentSecurityPolicy/eval-allowed-in- report-only-mode-and-sends-report.php","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698