diff options
Diffstat (limited to 'chrome/common/extensions/docs/xhr.html')
-rw-r--r-- | chrome/common/extensions/docs/xhr.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/xhr.html index 5aaf1c0..7e8ca6e 100644 --- a/chrome/common/extensions/docs/xhr.html +++ b/chrome/common/extensions/docs/xhr.html @@ -287,10 +287,14 @@ unless the extension has requested the appropriate cross-origin permissions. <a href="manifest.html">manifest</a> file, the extension can request access to remote servers outside of its origin.</p> -<pre>"permissions": [ - "http://www.google.com/", -], -</pre> +<pre>{ + "name": "My extension", + ... + <b>"permissions": [ + "http://www.google.com/" + ]</b>, + ... +}</pre> <p>Cross-origin permission values can be fully qualified host names, like these:</p> @@ -320,8 +324,8 @@ of hosts, it must declare the permissions separately:</p> <pre>"permissions": [ "http://www.google.com/", - "https://www.google.com/", -], + "https://www.google.com/" +] </pre> <h2 id="security-considerations">Security considerations</h2> |