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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-child-frame-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
OLDNEW
1 CONSOLE ERROR: line 1: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'un safe-inline' keyword, a hash ('sha256-2jEXxWe/uIoRJGbfoW7Bd11qhRclP9IuS5ZXCbhCUn M='), or a nonce ('nonce-...') is required to enable inline execution. 1 CONSOLE ERROR: line 1: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'un safe-inline' keyword, a hash ('sha256-2jEXxWe/uIoRJGbfoW7Bd11qhRclP9IuS5ZXCbhCUn M='), or a nonce ('nonce-...') is required to enable inline execution.
2 2
3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=generate-csp-report.php'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=generate-csp-report.php'.
4 4
5 5
6 -------- 6 --------
7 Frame: '<!--framePath //<!--frame0-->-->' 7 Frame: '<!--framePath //<!--frame0-->-->'
8 -------- 8 --------
9 CSP report received: 9 CSP report received:
10 CONTENT_TYPE: application/csp-report 10 CONTENT_TYPE: application/csp-report
11 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/resources/gen erate-csp-report.php 11 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/resources/gen erate-csp-report.php
12 REQUEST_METHOD: POST 12 REQUEST_METHOD: POST
13 === POST DATA === 13 === POST DATA ===
14 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/resources/generate-csp-report.php","referrer":"http://127.0.0.1:8000/securit y/contentSecurityPolicy/report-uri-from-child-frame.html","violated-directive":" script-src","effective-directive":"script-src","original-policy":"script-src 'se lf'; report-uri save-report.php?test=generate-csp-report.php","disposition":"enf orce","blocked-uri":"inline","line-number":1,"status-code":200}} 14 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/resources/generate-csp-report.php","referrer":"http://127.0.0.1:8000/securit y/contentSecurityPolicy/report-uri-from-child-frame.html","violated-directive":" script-src","effective-directive":"script-src","original-policy":"script-src 'se lf'; report-uri save-report.php?test=generate-csp-report.php","disposition":"enf orce","blocked-uri":"inline","line-number":1,"source-file":"http://127.0.0.1:800 0/security/contentSecurityPolicy/resources/generate-csp-report.php","status-code ":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698