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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-script-blocked-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/injected-inline-script-blocked-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-script-blocked-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-script-blocked-expected.txt
index 323a654ee96fafcbc61fc5639d1310c0bcdbde28..b1adc61f4854c8e968398787e6c8a49f74395da1 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-script-blocked-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-script-blocked-expected.txt
@@ -1,5 +1,5 @@
-CONSOLE ERROR: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*".
+CONSOLE ERROR: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
-CONSOLE ERROR: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*".
+CONSOLE ERROR: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

Powered by Google App Engine
This is Rietveld 408576698