[html5] r8037 - [giow] (3) navigator.cookieEnabled Fixing https://www.w3.org/Bugs/Public/show_bu [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jul 8 19:32:05 PDT 2013
Author: ianh
Date: 2013-07-08 19:32:04 -0700 (Mon, 08 Jul 2013)
New Revision: 8037
Modified:
complete.html
index
source
Log:
[giow] (3) navigator.cookieEnabled
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22556
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2013-07-09 01:19:46 UTC (rev 8036)
+++ complete.html 2013-07-09 02:32:04 UTC (rev 8037)
@@ -74621,13 +74621,23 @@
<pre class=idl>[NoInterfaceObject]
interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
+ readonly attribute <a href=#dom-navigator-cookieenabled title=dom-navigator-cookieEnabled>cookieEnabled</a>;
void <a href=#dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates>yieldForStorageUpdates</a>();
};</pre>
- <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-yieldForStorageUpdates><a href=#dom-navigator-yieldforstorageupdates>yieldForStorageUpdates</a></code>()</dt>
+ <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-cookieEnabled><a href=#dom-navigator-cookieenabled>cookieEnabled</a></code></dt>
<dd>
+ <p>Returns false if setting a cookie will be ignored, and true otherwise.</p>
+
+ </dd>
+
+
+ <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-yieldForStorageUpdates><a href=#dom-navigator-yieldforstorageupdates>yieldForStorageUpdates</a></code>()</dt>
+
+ <dd>
+
<p>If a script uses the <code title=dom-document-cookie><a href=#dom-document-cookie>document.cookie</a></code> API, or the
<code title=dom-localStorage><a href=#dom-localstorage>localStorage</a></code> API, the
browser will block other scripts from accessing cookies or storage
@@ -74647,6 +74657,10 @@
</dl><div class=impl>
+ <p>The <dfn id=dom-navigator-cookieenabled title=dom-navigator-cookieEnabled><code>cookieEnabled</code></dfn> attribute must
+ return true if the user agent attempts to handle cookies according to the cookie specification,
+ and false if it ignores cookie change requests. <a href=#refsCOOKIES>[COOKIES]</a></p>
+
<p>The <dfn id=dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates><code>yieldForStorageUpdates()</code></dfn> method,
when invoked, must, if the <a href=#storage-mutex>storage mutex</a> is owned by the <a href=#event-loop>event loop</a> of
the <a href=#concept-task title=concept-task>task</a> that resulted in the method being called, release the
Modified: index
===================================================================
--- index 2013-07-09 01:19:46 UTC (rev 8036)
+++ index 2013-07-09 02:32:04 UTC (rev 8037)
@@ -74621,13 +74621,23 @@
<pre class=idl>[NoInterfaceObject]
interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
+ readonly attribute <a href=#dom-navigator-cookieenabled title=dom-navigator-cookieEnabled>cookieEnabled</a>;
void <a href=#dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates>yieldForStorageUpdates</a>();
};</pre>
- <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-yieldForStorageUpdates><a href=#dom-navigator-yieldforstorageupdates>yieldForStorageUpdates</a></code>()</dt>
+ <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-cookieEnabled><a href=#dom-navigator-cookieenabled>cookieEnabled</a></code></dt>
<dd>
+ <p>Returns false if setting a cookie will be ignored, and true otherwise.</p>
+
+ </dd>
+
+
+ <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-yieldForStorageUpdates><a href=#dom-navigator-yieldforstorageupdates>yieldForStorageUpdates</a></code>()</dt>
+
+ <dd>
+
<p>If a script uses the <code title=dom-document-cookie><a href=#dom-document-cookie>document.cookie</a></code> API, or the
<code title=dom-localStorage><a href=#dom-localstorage>localStorage</a></code> API, the
browser will block other scripts from accessing cookies or storage
@@ -74647,6 +74657,10 @@
</dl><div class=impl>
+ <p>The <dfn id=dom-navigator-cookieenabled title=dom-navigator-cookieEnabled><code>cookieEnabled</code></dfn> attribute must
+ return true if the user agent attempts to handle cookies according to the cookie specification,
+ and false if it ignores cookie change requests. <a href=#refsCOOKIES>[COOKIES]</a></p>
+
<p>The <dfn id=dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates><code>yieldForStorageUpdates()</code></dfn> method,
when invoked, must, if the <a href=#storage-mutex>storage mutex</a> is owned by the <a href=#event-loop>event loop</a> of
the <a href=#concept-task title=concept-task>task</a> that resulted in the method being called, release the
Modified: source
===================================================================
--- source 2013-07-09 01:19:46 UTC (rev 8036)
+++ source 2013-07-09 02:32:04 UTC (rev 8037)
@@ -83536,11 +83536,21 @@
<pre class="idl">[NoInterfaceObject]
interface <dfn>NavigatorStorageUtils</dfn> {
+ readonly attribute <span title="dom-navigator-cookieEnabled">cookieEnabled</span>;
void <span title="dom-navigator-yieldForStorageUpdates">yieldForStorageUpdates</span>();
};</pre>
<dl class="domintro">
+ <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-cookieEnabled">cookieEnabled</code></dt>
+
+ <dd>
+
+ <p>Returns false if setting a cookie will be ignored, and true otherwise.</p>
+
+ </dd>
+
+
<dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-yieldForStorageUpdates">yieldForStorageUpdates</code>()</dt>
<dd>
@@ -83574,6 +83584,10 @@
<div class="impl">
+ <p>The <dfn title="dom-navigator-cookieEnabled"><code>cookieEnabled</code></dfn> attribute must
+ return true if the user agent attempts to handle cookies according to the cookie specification,
+ and false if it ignores cookie change requests. <a href="#refsCOOKIES">[COOKIES]</a></p>
+
<p>The <dfn
title="dom-navigator-yieldForStorageUpdates"><code>yieldForStorageUpdates()</code></dfn> method,
when invoked, must, if the <span>storage mutex</span> is owned by the <span>event loop</span> of
More information about the Commit-Watchers
mailing list