summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static/xhr.html
diff options
context:
space:
mode:
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>