summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/experimental.cookies.html
diff options
context:
space:
mode:
authorcindylau@google.com <cindylau@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 19:32:22 +0000
committercindylau@google.com <cindylau@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 19:32:22 +0000
commit77271a04f66a5d368b5aa7f3e044748343a35c29 (patch)
tree8b0bccf8ec748c52a4f6c80181fce74f86ce391d /chrome/common/extensions/docs/experimental.cookies.html
parent7b63991292b12f0b86476fc18e41e6b91aee9e0e (diff)
downloadchromium_src-77271a04f66a5d368b5aa7f3e044748343a35c29.zip
chromium_src-77271a04f66a5d368b5aa7f3e044748343a35c29.tar.gz
chromium_src-77271a04f66a5d368b5aa7f3e044748343a35c29.tar.bz2
Fix an inaccuracy in the cookies documentation--the expirationDate property is in seconds, not milliseconds.
Regenerated the docs using the test_shell script; a few other docs appeared to be out-of-date as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/2838008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/experimental.cookies.html')
-rw-r--r--chrome/common/extensions/docs/experimental.cookies.html150
1 files changed, 75 insertions, 75 deletions
diff --git a/chrome/common/extensions/docs/experimental.cookies.html b/chrome/common/extensions/docs/experimental.cookies.html
index b012b06..4aa6a43 100644
--- a/chrome/common/extensions/docs/experimental.cookies.html
+++ b/chrome/common/extensions/docs/experimental.cookies.html
@@ -248,9 +248,9 @@
<a href="#types">Types</a>
<ol>
<li>
- <a href="#type-CookieStore">CookieStore</a>
- </li><li>
<a href="#type-Cookie">Cookie</a>
+ </li><li>
+ <a href="#type-CookieStore">CookieStore</a>
</li>
</ol>
</li>
@@ -1786,7 +1786,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The expiration date of the cookie as the number of milliseconds since the UNIX epoch. If omitted, the cookie becomes a session cookie.</dd>
+ <dd>The expiration date of the cookie as the number of seconds since the UNIX epoch. If omitted, the cookie becomes a session cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2045,8 +2045,8 @@
<!-- iterates over all types -->
<div class="apiItem">
- <a name="type-CookieStore"></a>
- <h4>CookieStore</h4>
+ <a name="type-Cookie"></a>
+ <h4>Cookie</h4>
<div>
<dt>
@@ -2076,7 +2076,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Represents a cookie store in the browser. An incognito mode window, for instance, uses a separate cookie store from a non-incognito window.</dd>
+ <dd>Represents information about an HTTP cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
@@ -2084,7 +2084,7 @@
<div>
<div>
<dt>
- <var>id</var>
+ <var>name</var>
<em>
<!-- TYPE -->
@@ -2110,7 +2110,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The unique identifier for the cookie store.</dd>
+ <dd>The name of the cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2125,7 +2125,7 @@
</div><div>
<div>
<dt>
- <var>tabIds</var>
+ <var>value</var>
<em>
<!-- TYPE -->
@@ -2137,20 +2137,10 @@
<a> Type</a>
</span>
<span>
- <span>
- array of <span><span>
- <span style="display: none; ">
- <a> Type</a>
- </span>
- <span>
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>integer</span>
- </span>
- </span></span>
- </span>
- <span style="display: none; ">paramType</span>
+ <span>string</span>
</span>
</span>
)
@@ -2161,7 +2151,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Identifiers of all the browser tabs that share this cookie store.</dd>
+ <dd>The value of the cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2173,18 +2163,10 @@
</dl>
</dd>
</div>
- </div>
- </dl>
- </dd>
- </div>
-
- </div><div class="apiItem">
- <a name="type-Cookie"></a>
- <h4>Cookie</h4>
-
- <div>
+ </div><div>
+ <div>
<dt>
- <var style="display: none; ">paramName</var>
+ <var>domain</var>
<em>
<!-- TYPE -->
@@ -2199,7 +2181,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>object</span>
+ <span>string</span>
</span>
</span>
)
@@ -2210,15 +2192,22 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Represents information about an HTTP cookie.</dd>
+ <dd>The domain of the cookie (e.g. "www.google.com", "example.com").</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="display: none; ">
<dl>
<div>
<div>
+ </div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+ </div><div>
+ <div>
<dt>
- <var>name</var>
+ <var>hostOnly</var>
<em>
<!-- TYPE -->
@@ -2233,7 +2222,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>boolean</span>
</span>
</span>
)
@@ -2244,7 +2233,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The name of the cookie.</dd>
+ <dd>True if the cookie is a host-only cookie (i.e. a request's host must exactly match the domain of the cookie).</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2259,7 +2248,7 @@
</div><div>
<div>
<dt>
- <var>value</var>
+ <var>path</var>
<em>
<!-- TYPE -->
@@ -2285,7 +2274,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The value of the cookie.</dd>
+ <dd>The path of the cookie.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2300,7 +2289,7 @@
</div><div>
<div>
<dt>
- <var>domain</var>
+ <var>secure</var>
<em>
<!-- TYPE -->
@@ -2315,7 +2304,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>boolean</span>
</span>
</span>
)
@@ -2326,7 +2315,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The domain of the cookie (e.g. "www.google.com", "example.com").</dd>
+ <dd>True if the cookie is marked as Secure (i.e. its scope is limited to secure channels, typically HTTPS).</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2341,7 +2330,7 @@
</div><div>
<div>
<dt>
- <var>hostOnly</var>
+ <var>httpOnly</var>
<em>
<!-- TYPE -->
@@ -2367,7 +2356,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is a host-only cookie (i.e. a request's host must exactly match the domain of the cookie).</dd>
+ <dd>True if the cookie is marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts).</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2382,7 +2371,7 @@
</div><div>
<div>
<dt>
- <var>path</var>
+ <var>session</var>
<em>
<!-- TYPE -->
@@ -2397,7 +2386,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>boolean</span>
</span>
</span>
)
@@ -2408,7 +2397,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The path of the cookie.</dd>
+ <dd>True if the cookie is a session cookie, as opposed to a persistent cookie with an expiration date.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2423,13 +2412,13 @@
</div><div>
<div>
<dt>
- <var>secure</var>
+ <var>expirationDate</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2438,7 +2427,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>boolean</span>
+ <span>number</span>
</span>
</span>
)
@@ -2449,7 +2438,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is marked as Secure (i.e. its scope is limited to secure channels, typically HTTPS).</dd>
+ <dd>The expiration date of the cookie as the number of seconds since the UNIX epoch. Not provided for session cookies.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2464,7 +2453,7 @@
</div><div>
<div>
<dt>
- <var>httpOnly</var>
+ <var>storeId</var>
<em>
<!-- TYPE -->
@@ -2479,7 +2468,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>boolean</span>
+ <span>string</span>
</span>
</span>
)
@@ -2490,7 +2479,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts).</dd>
+ <dd>The ID of the cookie store containing this cookie, as provided in getAllCookieStores().</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2502,10 +2491,18 @@
</dl>
</dd>
</div>
- </div><div>
- <div>
+ </div>
+ </dl>
+ </dd>
+ </div>
+
+ </div><div class="apiItem">
+ <a name="type-CookieStore"></a>
+ <h4>CookieStore</h4>
+
+ <div>
<dt>
- <var>session</var>
+ <var style="display: none; ">paramName</var>
<em>
<!-- TYPE -->
@@ -2520,7 +2517,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>boolean</span>
+ <span>object</span>
</span>
</span>
)
@@ -2531,28 +2528,21 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the cookie is a session cookie, as opposed to a persistent cookie with an expiration date.</dd>
+ <dd>Represents a cookie store in the browser. An incognito mode window, for instance, uses a separate cookie store from a non-incognito window.</dd>
<!-- OBJECT PROPERTIES -->
- <dd style="display: none; ">
+ <dd>
<dl>
<div>
<div>
- </div>
- </div>
- </dl>
- </dd>
- </div>
- </div><div>
- <div>
<dt>
- <var>expirationDate</var>
+ <var>id</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="display: none; ">optional</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -2561,7 +2551,7 @@
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>number</span>
+ <span>string</span>
</span>
</span>
)
@@ -2572,7 +2562,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The expiration date of the cookie as the number of milliseconds since the UNIX epoch. Not provided for session cookies.</dd>
+ <dd>The unique identifier for the cookie store.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">
@@ -2587,7 +2577,7 @@
</div><div>
<div>
<dt>
- <var>storeId</var>
+ <var>tabIds</var>
<em>
<!-- TYPE -->
@@ -2599,10 +2589,20 @@
<a> Type</a>
</span>
<span>
+ <span>
+ array of <span><span>
+ <span style="display: none; ">
+ <a> Type</a>
+ </span>
+ <span>
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>string</span>
+ <span>integer</span>
+ </span>
+ </span></span>
+ </span>
+ <span style="display: none; ">paramType</span>
</span>
</span>
)
@@ -2613,7 +2613,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The ID of the cookie store containing this cookie, as provided in getAllCookieStores().</dd>
+ <dd>Identifiers of all the browser tabs that share this cookie store.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">