summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 09:40:54 +0000
committeryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 09:40:54 +0000
commit2e237f3cc53d7a4d027fa017af1e1dfbd62a8eea (patch)
treef99d85653d579d65c65c37cb78864b92628d1fd1
parent51d1fa07c6919f6991eba5b128f1080088e4d699 (diff)
downloadchromium_src-2e237f3cc53d7a4d027fa017af1e1dfbd62a8eea.zip
chromium_src-2e237f3cc53d7a4d027fa017af1e1dfbd62a8eea.tar.gz
chromium_src-2e237f3cc53d7a4d027fa017af1e1dfbd62a8eea.tar.bz2
Update declarativeWebRequest docs about sometimes not requiring host permissions.
BUG=145456 Review URL: https://chromiumcodereview.appspot.com/11235051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163532 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html b/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
index 427d6f4..2c304df4 100644
--- a/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
+++ b/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
@@ -28,6 +28,20 @@ hosts whose network requests you want to access.
...
}</pre>
+<p>
+Note that certain types of non-sensitive requests do not require host
+permissions:
+<ul>
+ <li><code>CancelRequest</code>
+ <li><code>IgnoreRules</code>
+ <li><code>RedirectToEmptyDocument</code>
+ <li><code>RedirectToTransparentImage</code>
+ <li><code>RedirectByRegex</code> when the redirect destination has
+ the same domain as the original request
+ <li><code>RedirectRequest</code> when the redirect destination has
+ the same domain as the original request
+</ul>
+
<h2 id="rules">Rules</h2>
<p>