summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 16:52:20 +0000
committerkathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 16:52:20 +0000
commitcdc484d8d1c0d4dd3bc072449a2f0aed56f301cd (patch)
tree7dc01eeb65c2582d324a8dc6ccbcad405b6c974a
parent85e62c25afdf2834e8fef1a12e34d9d380c95ee9 (diff)
downloadchromium_src-cdc484d8d1c0d4dd3bc072449a2f0aed56f301cd.zip
chromium_src-cdc484d8d1c0d4dd3bc072449a2f0aed56f301cd.tar.gz
chromium_src-cdc484d8d1c0d4dd3bc072449a2f0aed56f301cd.tar.bz2
Add a note that the code sample is broken until the bug is fixed.
BUG=41024 TEST=none Review URL: http://codereview.chromium.org/2880021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51854 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/extensions/docs/static/xhr.html6
-rw-r--r--chrome/common/extensions/docs/xhr.html6
2 files changed, 12 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/static/xhr.html b/chrome/common/extensions/docs/static/xhr.html
index 84cecfc..a7be123 100644
--- a/chrome/common/extensions/docs/static/xhr.html
+++ b/chrome/common/extensions/docs/static/xhr.html
@@ -36,6 +36,12 @@ xhr.open("GET", chrome.extension.getURL('/config_resources/config.json'), true);
xhr.send();
</pre>
+<p class="caution">
+<b>Bug note:</b>
+Until <a href="http://crbug.com/41024">bug 41024</a> is fixed,
+the preceding code won't work.
+</p>
+
<p>If the extension attempts to use a security origin other than itself,
say http://www.google.com,
the browser disallows it
diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/xhr.html
index c04f417..4353955 100644
--- a/chrome/common/extensions/docs/xhr.html
+++ b/chrome/common/extensions/docs/xhr.html
@@ -300,6 +300,12 @@ xhr.open("GET", chrome.extension.getURL('/config_resources/config.json'), true);
xhr.send();
</pre>
+<p class="caution">
+<b>Bug note:</b>
+Until <a href="http://crbug.com/41024">bug 41024</a> is fixed,
+the preceding code won't work.
+</p>
+
<p>If the extension attempts to use a security origin other than itself,
say http://www.google.com,
the browser disallows it