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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt

Issue 137233005: CSP: Improve blocked inline script error message. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Yay. Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt
index 42ae0704a97d57ec5ad91b26f1153ec4bdc00c17..b2f2529e7e0dad3523db32a07b6f4dd9f9da4ace 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt
@@ -1,6 +1,6 @@
CONSOLE ERROR: line 10: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
-CONSOLE ERROR: line 11: [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'".
+CONSOLE ERROR: line 11: [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/resources/save-report.php?test=report-and-enforce.html'.
ALERT: PASS

Powered by Google App Engine
This is Rietveld 408576698