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

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

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added needsrebaseline for win_rel. Created 6 years, 1 month 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 WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/.
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 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 3
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 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: 5 CSP report received:
5 CONTENT_TYPE: application/csp-report 6 CONTENT_TYPE: application/csp-report
6 Cookie: cspViolationReportCookie=sameOrigin 7 Cookie: cspViolationReportCookie=sameOrigin
7 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-same-o rigin-with-cookies.html 8 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-same-o rigin-with-cookies.html
8 REQUEST_METHOD: POST 9 REQUEST_METHOD: POST
9 === POST DATA === 10 === 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}} 11 {"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