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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-javascript-expected.txt

Issue 200923002: Post a microtask to load <img> elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix last test failure Created 6 years, 7 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: Refused to load the image 'http://127.0.0.1:8000/security/resourc es/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'". 1 CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resourc es/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
2 2
3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-uri-from-javascript.html'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/save-report.php?test=report-uri-from-javascript.html'.
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/report-uri-fr om-javascript.html 6 HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-uri-fr om-javascript.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/report-uri-from-javascript.html","referrer":"","violated-directive":"img-src 'none'","original-policy":"img-src 'none'; report-uri resources/save-report.php ?test=report-uri-from-javascript.html","blocked-uri":"http://127.0.0.1:8000/secu rity/resources/abe.png","source-file":"http://127.0.0.1:8000/security/contentSec urityPolicy/resources/inject-image.js","line-number":3,"column-number":7,"status -code":200}} 9 {"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPol icy/report-uri-from-javascript.html","referrer":"","violated-directive":"img-src 'none'","original-policy":"img-src 'none'; report-uri resources/save-report.php ?test=report-uri-from-javascript.html","blocked-uri":"http://127.0.0.1:8000/secu rity/resources/abe.png","status-code":200}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698