summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static/xhr.html
diff options
context:
space:
mode:
authorkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 20:06:50 +0000
committerkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 20:06:50 +0000
commit748c29f8976f56a48b5ab49ed48e7e66e2593a07 (patch)
tree00a29a298c2f704edceffe46cab0345cb022a06a /chrome/common/extensions/docs/static/xhr.html
parent3a70409ea03144e5aeb18596be1fd819fabacbd0 (diff)
downloadchromium_src-748c29f8976f56a48b5ab49ed48e7e66e2593a07.zip
chromium_src-748c29f8976f56a48b5ab49ed48e7e66e2593a07.tar.gz
chromium_src-748c29f8976f56a48b5ab49ed48e7e66e2593a07.tar.bz2
Make all the manifest examples consistent.
Also added/removed a few commas. TBR=aa TEST=none BUG=none Review URL: http://codereview.chromium.org/465102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static/xhr.html')
-rw-r--r--chrome/common/extensions/docs/static/xhr.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/chrome/common/extensions/docs/static/xhr.html b/chrome/common/extensions/docs/static/xhr.html
index 332eb2c..01d36fe 100644
--- a/chrome/common/extensions/docs/static/xhr.html
+++ b/chrome/common/extensions/docs/static/xhr.html
@@ -39,10 +39,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>
@@ -72,8 +76,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>