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

Unified Diff: chrome/common/extensions/docs/server2/templates/articles/contentSecurityPolicy.html

Issue 10905258: Tweaking the "insecure CSP" error message to clarify that both 'script-src' and 'object-src' must b… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo. :( Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/common/extensions/extension_manifest_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/templates/articles/contentSecurityPolicy.html
diff --git a/chrome/common/extensions/docs/server2/templates/articles/contentSecurityPolicy.html b/chrome/common/extensions/docs/server2/templates/articles/contentSecurityPolicy.html
index d6bffc3535b1896d8130edda39e69fa2ac81a727..f6f7f293026b0fc91e8c2af51c20f28c261843c0 100644
--- a/chrome/common/extensions/docs/server2/templates/articles/contentSecurityPolicy.html
+++ b/chrome/common/extensions/docs/server2/templates/articles/contentSecurityPolicy.html
@@ -320,7 +320,7 @@ function main() {
<code>'unsafe-eval'</code> to your policy:
</p>
-<pre>"content_security_policy": "script-src 'self' 'unsafe-eval'"</pre>
+<pre>"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"</pre>
<p>
However, we strongly recommend against doing this. These functions are
« no previous file with comments | « no previous file | chrome/common/extensions/extension_manifest_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698