summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static/xhr.html
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 03:01:43 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 03:01:43 +0000
commit2bd06dc47154f3f37d7bf7622afbcad1a2536c46 (patch)
tree884205e40b8005cd02be3c643f2aa1eb538c5684 /chrome/common/extensions/docs/static/xhr.html
parent92ad2cd7566835836b0dc3b66c719e9bfe08e6af (diff)
downloadchromium_src-2bd06dc47154f3f37d7bf7622afbcad1a2536c46.zip
chromium_src-2bd06dc47154f3f37d7bf7622afbcad1a2536c46.tar.gz
chromium_src-2bd06dc47154f3f37d7bf7622afbcad1a2536c46.tar.bz2
pull over wiki content
wiki changes Review URL: http://codereview.chromium.org/164302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static/xhr.html')
-rwxr-xr-xchrome/common/extensions/docs/static/xhr.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/static/xhr.html b/chrome/common/extensions/docs/static/xhr.html
new file mode 100755
index 0000000..43be3bcc
--- /dev/null
+++ b/chrome/common/extensions/docs/static/xhr.html
@@ -0,0 +1,16 @@
+<!-- BEGIN AUTHORED CONTENT -->
+<p>The standard XMLHttpRequest object can be used to communicate with multiple origins (ie domains) from an extension. You must pre-register the domains you want to talk to in the manifest, like so:</p>
+
+<pre>{
+ "name": "My First Extension",
+ "version": "1.0",
+ "description": "The first extension that I made.",
+ "permissions": [
+ "http://www.blogger.com",
+ "http://*.google.com"
+ ]
+}</pre>
+
+<h3>Status</h3>
+<p>Implemented, but we don't yet enforce the permissions; all origins are allowed for now.</p>
+<!-- END AUTHORED CONTENT -->