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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/script-src-none-inline-event-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/script-src-none-inline-event-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt
index 47c7894d7555311f88092d1a04a887d4ab0f09c8..3f97004cd73c5cee1abb4fd10fae9bf8fb160fd2 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 3: Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'none'".
+CONSOLE ERROR: line 3: Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'none'". 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