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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: line 16: Refused to load the image 'http://127.0.0.1:8000/secur ity/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'". 1 CONSOLE ERROR: line 16: Refused to load the image 'http://127.0.0.1:8000/securit y/resources/abe.png' because it violates the following Content Security Policy d irective: "img-src 'none'".
2 2
3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-same-origin-with-cookies.html'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-same-origin-with-cookies.html'.
4 CSP report received: 4 CSP report received:
5 CONTENT_TYPE: application/csp-report 5 CONTENT_TYPE: application/csp-report
6 Cookie: cspViolationReportCookie=sameOrigin 6 Cookie: cspViolationReportCookie=sameOrigin
7 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-same-o rigin-with-cookies.html 7 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-same-o rigin-with-cookies.html
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-same-origin-with-cookies.html","referrer":"","violated-directive":"im g-src 'none'","effective-directive":"img-src","original-policy":"img-src 'none'; report-uri /security/contentSecurityPolicy/resources/save-report.php?test=repor t-same-origin-with-cookies.html","blocked-uri":"http://127.0.0.1:8000/security/r esources/abe.png","status-code":200}} 10 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-same-origin-with-cookies.html","referrer":"","violated-directive":"im g-src 'none'","effective-directive":"img-src","original-policy":"img-src 'none'; report-uri /security/contentSecurityPolicy/resources/save-report.php?test=repor t-same-origin-with-cookies.html","blocked-uri":"http://127.0.0.1:8000/security/r esources/abe.png","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698