diff options
Diffstat (limited to 'chrome/common/extensions/docs/static/api_other.html')
-rwxr-xr-x | chrome/common/extensions/docs/static/api_other.html | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/chrome/common/extensions/docs/static/api_other.html b/chrome/common/extensions/docs/static/api_other.html index 260141c..278ae50 100755 --- a/chrome/common/extensions/docs/static/api_other.html +++ b/chrome/common/extensions/docs/static/api_other.html @@ -14,15 +14,19 @@ you can bundle additional API libraries into your extension. <dl> <dt><strong> Standard JavaScript APIs </strong></dt> -<dd> <span class="comment">[PENDING: define, explain; link to complete list]</span> +<dd> These are the same core JavaScript and DOM APIs + that you can use in ordinary web apps. + <span class="comment">[PENDING: check! should link to complete list]</span> <!-- Use onclick in your toolbar div to add click behavior. E.g. window.open(someUrl). --></dd> <dt><strong> XMLHttpRequest </strong></dt> <dd> - Lets the extension request data from one or more servers. - The manifest specifies - which domains the extension can send requests to. - <span class="comment">[PENDING: link to doc]</span></dd> + Use <a href="xhr.html">XMLHttpRequest</a> + to request data from one or more servers. + The <a href="manifest.html#permissions">permissions</a> field + of the manifest specifies + which hosts the extension can send requests to. + </dd> <dt><strong> WebKit APIs </strong></dt> <dd> Because Google Chrome is built upon WebKit, @@ -41,10 +45,13 @@ E.g. window.open(someUrl). --></dd> <p class="comment">[PENDING: link to complete list of webkit apis]</p> </dd> <dt><strong> V8 APIs</strong>, such as<strong> JSON </strong></dt> -<dd> JSON is in V8, so you don't need to include a JSON library to use JSON functions. <span class="comment">[PENDING: what other APIs are in v8? link to complete list]</span></dd> -<dt> <strong>HTML5</strong> <strong>APIs</strong>, such as <strong>localStorage</strong> and <strong>Web Workers</strong></dt> -<dd> HTML5 is still being defined and implemented, but one crucial feature it will provide is local storage... <!-- -localStorage.setItem("foo", "bar"); ... localStorage.getItem("foo"); --> <span class="comment">[PENDING: mention Web Workers, too. Other important API? link to complete list]</span></dd> +<dd> Because JSON is in V8, you don't need to include a JSON library to use JSON functions. <span class="comment">[PENDING: what other APIs are in v8? link to complete list]</span></dd> +<dt> <strong>HTML5</strong> <strong>APIs</strong>, such as <strong>localStorage</strong></dt> +<dd> HTML5 is still being defined and implemented, + but Google Chrome already supports local storage, + which extensions can use to store data. +<!-- +localStorage.setItem("foo", "bar"); ... localStorage.getItem("foo"); --> <span class="comment">[PENDING: Other important API? link to complete list]</span></dd> <dt><strong>APIs in bundled libraries</strong></dt> <dd> If you want to use a library that the browser doesn't provide (for example, jQuery), |