Skip to content

Commit

Permalink
[giow] (3) navigator.cookieEnabled
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22556
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8037 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 9, 2013
1 parent d61f3fe commit 70726af
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
16 changes: 15 additions & 1 deletion complete.html
Expand Up @@ -74621,10 +74621,20 @@ <h5 id=manually-releasing-the-storage-mutex><span class=secno>7.5.1.4 </span>Man

<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>

Expand All @@ -74647,6 +74657,10 @@ <h5 id=manually-releasing-the-storage-mutex><span class=secno>7.5.1.4 </span>Man

</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
Expand Down
16 changes: 15 additions & 1 deletion index
Expand Up @@ -74621,10 +74621,20 @@ interface <dfn id=navigatorcontentutils>NavigatorContentUtils</dfn> {

<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>

Expand All @@ -74647,6 +74657,10 @@ interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {

</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
Expand Down
14 changes: 14 additions & 0 deletions source
Expand Up @@ -83536,11 +83536,21 @@ interface <dfn>NavigatorContentUtils</dfn> {

<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>
Expand Down Expand Up @@ -83574,6 +83584,10 @@ interface <dfn>NavigatorStorageUtils</dfn> {

<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
Expand Down

0 comments on commit 70726af

Please sign in to comment.