From 748c29f8976f56a48b5ab49ed48e7e66e2593a07 Mon Sep 17 00:00:00 2001
From: "kathyw@google.com"
Date: Mon, 7 Dec 2009 20:06:50 +0000
Subject: 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
---
chrome/common/extensions/docs/static/xhr.html | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
(limited to 'chrome/common/extensions/docs/static/xhr.html')
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.
manifest file, the extension can request access to
remote servers outside of its origin.
-"permissions": [
- "http://www.google.com/",
-],
-
+{
+ "name": "My extension",
+ ...
+ "permissions": [
+ "http://www.google.com/"
+ ],
+ ...
+}
Cross-origin permission values can be fully qualified host names,
like these:
@@ -72,8 +76,8 @@ of hosts, it must declare the permissions separately:
"permissions": [
"http://www.google.com/",
- "https://www.google.com/",
-],
+ "https://www.google.com/"
+]
Security considerations
--
cgit v1.1