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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/report-uri-effective-directive-expected.txt

Issue 2785463002: CSP: Don't override the location set in reportViolationWithLocation. (Closed)
Patch Set: Do not use a default value because of forward declaration. Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: line 6: Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'u nsafe-inline' keyword, a hash ('sha256-L3uuqigJSGd8GNknRL52DwyzzMGSUwfFRHXvGFby0 oM='), or a nonce ('nonce-...') is required to enable inline execution. Note als o that 'script-src' was not explicitly set, so 'default-src' is used as a fallba ck. 1 CONSOLE ERROR: line 6: Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'u nsafe-inline' keyword, a hash ('sha256-L3uuqigJSGd8GNknRL52DwyzzMGSUwfFRHXvGFby0 oM='), or a nonce ('nonce-...') is required to enable inline execution. Note als o that 'script-src' was not explicitly set, so 'default-src' is used as a fallba ck.
2 2
3 CSP report received: 3 CSP report received:
4 CONTENT_TYPE: application/csp-report 4 CONTENT_TYPE: application/csp-report
5 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/report-ur i-effective-directive.php 5 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/report-ur i-effective-directive.php
6 REQUEST_METHOD: POST 6 REQUEST_METHOD: POST
7 === POST DATA === 7 === POST DATA ===
8 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/1.1/report-uri-effective-directive.php","referrer":"","violated-directive":" script-src","effective-directive":"script-src","original-policy":"default-src 's elf'; report-uri ../resources/save-report.php?test=report-uri-effective-directiv e.php","disposition":"enforce","blocked-uri":"inline","line-number":6,"status-co de":200,"script-sample":""}} 8 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/1.1/report-uri-effective-directive.php","referrer":"","violated-directive":" script-src","effective-directive":"script-src","original-policy":"default-src 's elf'; report-uri ../resources/save-report.php?test=report-uri-effective-directiv e.php","disposition":"enforce","blocked-uri":"inline","line-number":6,"source-fi le":"http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/report-uri-effecti ve-directive.php","status-code":200,"script-sample":""}}
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698