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

Unified Diff: chrome/common/extensions/docs/extensions/contentSecurityPolicy.html

Issue 10855122: Whitelisting `127.0.0.1` and `localhost` for HTTP in extensions' CSP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Second pass. Created 8 years, 4 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: chrome/common/extensions/docs/extensions/contentSecurityPolicy.html
diff --git a/chrome/common/extensions/docs/extensions/contentSecurityPolicy.html b/chrome/common/extensions/docs/extensions/contentSecurityPolicy.html
index 7852ad3155c7e5af047f8589b2b326be89515ad8..e55979bbbe9108d27fee8dcd5e2fe567d4e3f155 100644
--- a/chrome/common/extensions/docs/extensions/contentSecurityPolicy.html
+++ b/chrome/common/extensions/docs/extensions/contentSecurityPolicy.html
@@ -417,6 +417,12 @@ popup.html:
<code>chrome-extension-resource</code>.
</p>
<p>
+ To ease development, we're also allowing the whitelisting of resources loaded
+ over HTTP from servers on your local machine. You may whitelist script and
+ object sources on any port of either <code>http://127.0.0.1</code> or
+ <code>http://localhost</code>.
+</p>
+<p>
A relaxed policy definition which allows script resources to be loaded from
<code>example.com</code> over HTTPS might look like:
</p>

Powered by Google App Engine
This is Rietveld 408576698