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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode-and-sends-report-expected.txt

Issue 131103003: CSP: Add a mechanism to disable CSP 1.1 for layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty Policy directive: "script-src 'self' 'unsafe-inline'". 1 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty 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.html 6 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/eval-allowed- in-report-only-mode-and-sends-report.html
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.html","referrer":"","viola ted-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.html","b locked-uri":"","source-file":"http://127.0.0.1:8000/security/contentSecurityPoli cy/eval-allowed-in-report-only-mode-and-sends-report.html","line-number":9,"colu mn-number":13,"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.html","referrer":"","viola ted-directive":"script-src 'self' 'unsafe-inline'","original-policy":"script-src 'self' 'unsafe-inline'; report-uri resources/save-report.php?test=eval-allowed- in-report-only-mode-and-sends-report.html","blocked-uri":"","source-file":"http: //127.0.0.1:8000/security/contentSecurityPolicy/eval-allowed-in-report-only-mode -and-sends-report.html","line-number":13,"column-number":13,"status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698