diff options
author | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-31 23:50:56 +0000 |
---|---|---|
committer | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-31 23:50:56 +0000 |
commit | c73324b412497ba5e9fb2ee54ca373c762b8ecc7 (patch) | |
tree | 006db6537b50882d7f61fcd8116685bdc8d55e1a | |
parent | 33b15ed7d239b7c6cd85c5cf1474249762eff334 (diff) | |
download | chromium_src-c73324b412497ba5e9fb2ee54ca373c762b8ecc7.zip chromium_src-c73324b412497ba5e9fb2ee54ca373c762b8ecc7.tar.gz chromium_src-c73324b412497ba5e9fb2ee54ca373c762b8ecc7.tar.bz2 |
Correcting the documentation for webRequest (data://).
BUG=130065
TEST=N/A (no code change), documentation change justified in crbug.com/130065
Review URL: https://chromiumcodereview.appspot.com/10448049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139926 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/extensions/docs/static/webRequest.html | 19 | ||||
-rw-r--r-- | chrome/common/extensions/docs/webRequest.html | 18 |
2 files changed, 37 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/static/webRequest.html b/chrome/common/extensions/docs/static/webRequest.html index 3898a3e..5b81958 100644 --- a/chrome/common/extensions/docs/static/webRequest.html +++ b/chrome/common/extensions/docs/static/webRequest.html @@ -128,6 +128,25 @@ complete nor stable. </ul> </p> +<p> +The webRequest API only exposes requests that the extension has +permission to see, given its +<a href="manifest.html#permissions">host permissions</a>. +Moreover, only the following schemes are accessible: +<code>http://</code>, +<code>https://</code>, +<code>ftp://</code>, +<code>file://</code>, or +<code>chrome-extension://</code>. +In addition, even certain requests with URLs using one of the above schemes +are hidden, e.g., +<code>chrome-extension://other_extension_id</code> where +<code>other_extension_id</code> is not the ID of the extension to handle +the request, +<code>https://www.google.com/chrome</code>, +and others (this list is not complete). +</p> + <h2 id="concepts">Concepts</h2> <p>As the following sections explain, events in the web request API use request diff --git a/chrome/common/extensions/docs/webRequest.html b/chrome/common/extensions/docs/webRequest.html index e1fcb54..98d4080 100644 --- a/chrome/common/extensions/docs/webRequest.html +++ b/chrome/common/extensions/docs/webRequest.html @@ -392,6 +392,24 @@ complete nor stable. <li>Transfer-Encoding</li> </ul> <p></p> +<p> +The webRequest API only exposes requests that the extension has +permission to see, given its +<a href="manifest.html#permissions">host permissions</a>. +Moreover, only the following schemes are accessible: +<code>http://</code>, +<code>https://</code>, +<code>ftp://</code>, +<code>file://</code>, or +<code>chrome-extension://</code>. +In addition, even certain requests with URLs using one of the above schemes +are hidden, e.g., +<code>chrome-extension://other_extension_id</code> where +<code>other_extension_id</code> is not the ID of the extension to handle +the request, +<code>https://www.google.com/chrome</code>, +and others (this list is not complete). +</p> <h2 id="concepts">Concepts</h2> <p>As the following sections explain, events in the web request API use request IDs, and you can optionally specify filters and extra information when you |