[html5] r5486 - [giow] (2) Define http-equiv='set-cookie' Fixing http://www.w3.org/Bugs/Public/s [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sat Sep 25 08:46:09 PDT 2010
Author: ianh
Date: 2010-09-25 08:46:08 -0700 (Sat, 25 Sep 2010)
New Revision: 5486
Modified:
complete.html
index
source
Log:
[giow] (2) Define http-equiv='set-cookie'
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9578
Modified: complete.html
===================================================================
--- complete.html 2010-09-25 15:32:04 UTC (rev 5485)
+++ complete.html 2010-09-25 15:46:08 UTC (rev 5486)
@@ -13126,12 +13126,10 @@
attribute is an <a href=#enumerated-attribute>enumerated attribute</a>. The following
table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to
- which those keywords map. <!--<span class="impl">Some of the
- keywords are non-conforming, as noted in the last
- column.</span>--></p>
+ which those keywords map. <span class=impl>Some of the keywords
+ are non-conforming, as noted in the last column.</span></p>
<!-- things that are neither conforming nor do anything are commented out -->
-<!-- if you add something non-conforming, uncomment out the last sentence above -->
<table id=table-http-equiv><thead><tr><th>State
<th>Keyword
<th>Notes
@@ -13157,6 +13155,9 @@
<tr><td><a href=#attr-meta-http-equiv-refresh title=attr-meta-http-equiv-refresh>Refresh</a>
<td><code title="">refresh</code>
<td>
+ <tr class=impl><td><a href=#attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</a>
+ <td><code title="">Set-Cookie</code>
+ <td>Non-conforming
</table><!--
DATA: According to Henri's validator stats, here are common
non-conforming values used by people who validate (sample of 400
@@ -13493,6 +13494,28 @@
</dd>
+ <dt class=impl><dfn id=attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)
+
+ <dd class=impl>
+
+ <p>This pragma sets an HTTP cookie. <a href=#refsCOOKIES>[COOKIES]</a></p>
+
+ <p>It is non-conforming. Real HTTP headers should be used instead.</p>
+
+ <ol><li><p>If the <code><a href=#meta>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
+ attribute's value is the empty string, then abort these
+ steps.</li>
+
+ <li><p><a href=#obtain-the-storage-mutex>Obtain the storage mutex</a>.</li>
+
+ <li><p>Act as if <span title="receives a
+ set-cookie-string">receiving a set-cookie-string</span> for
+ <a href="#the-document's-address">the document's address</a> via a "non-HTTP" API,
+ consisting of the value of the element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute encoded as
+ UTF-8. <a href=#refsCOOKIES>[COOKIES]</a> <a href=#refsRFC3629>[RFC3629]</a></li>
+
+ </ol></dd>
+
</dl><p>There must not be more than one <code><a href=#meta>meta</a></code> element with
any particular state in the document at a time.</p>
Modified: index
===================================================================
--- index 2010-09-25 15:32:04 UTC (rev 5485)
+++ index 2010-09-25 15:46:08 UTC (rev 5486)
@@ -13103,12 +13103,10 @@
attribute is an <a href=#enumerated-attribute>enumerated attribute</a>. The following
table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to
- which those keywords map. <!--<span class="impl">Some of the
- keywords are non-conforming, as noted in the last
- column.</span>--></p>
+ which those keywords map. <span class=impl>Some of the keywords
+ are non-conforming, as noted in the last column.</span></p>
<!-- things that are neither conforming nor do anything are commented out -->
-<!-- if you add something non-conforming, uncomment out the last sentence above -->
<table id=table-http-equiv><thead><tr><th>State
<th>Keyword
<th>Notes
@@ -13134,6 +13132,9 @@
<tr><td><a href=#attr-meta-http-equiv-refresh title=attr-meta-http-equiv-refresh>Refresh</a>
<td><code title="">refresh</code>
<td>
+ <tr class=impl><td><a href=#attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</a>
+ <td><code title="">Set-Cookie</code>
+ <td>Non-conforming
</table><!--
DATA: According to Henri's validator stats, here are common
non-conforming values used by people who validate (sample of 400
@@ -13470,6 +13471,28 @@
</dd>
+ <dt class=impl><dfn id=attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)
+
+ <dd class=impl>
+
+ <p>This pragma sets an HTTP cookie. <a href=#refsCOOKIES>[COOKIES]</a></p>
+
+ <p>It is non-conforming. Real HTTP headers should be used instead.</p>
+
+ <ol><li><p>If the <code><a href=#meta>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
+ attribute's value is the empty string, then abort these
+ steps.</li>
+
+ <li><p><a href=#obtain-the-storage-mutex>Obtain the storage mutex</a>.</li>
+
+ <li><p>Act as if <span title="receives a
+ set-cookie-string">receiving a set-cookie-string</span> for
+ <a href="#the-document's-address">the document's address</a> via a "non-HTTP" API,
+ consisting of the value of the element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute encoded as
+ UTF-8. <a href=#refsCOOKIES>[COOKIES]</a> <a href=#refsRFC3629>[RFC3629]</a></li>
+
+ </ol></dd>
+
</dl><p>There must not be more than one <code><a href=#meta>meta</a></code> element with
any particular state in the document at a time.</p>
Modified: source
===================================================================
--- source 2010-09-25 15:32:04 UTC (rev 5485)
+++ source 2010-09-25 15:46:08 UTC (rev 5486)
@@ -13785,12 +13785,10 @@
attribute is an <span>enumerated attribute</span>. The following
table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to
- which those keywords map. <!--<span class="impl">Some of the
- keywords are non-conforming, as noted in the last
- column.</span>--></p>
+ which those keywords map. <span class="impl">Some of the keywords
+ are non-conforming, as noted in the last column.</span></p>
<!-- things that are neither conforming nor do anything are commented out -->
-<!-- if you add something non-conforming, uncomment out the last sentence above -->
<table id="table-http-equiv">
<thead>
<tr>
@@ -13824,6 +13822,10 @@
<td><span title="attr-meta-http-equiv-refresh">Refresh</span>
<td><code title="">refresh</code>
<td>
+ <tr class="impl">
+ <td><span title="attr-meta-http-equiv-set-cookie">Cookie setter</span>
+ <td><code title="">Set-Cookie</code>
+ <td>Non-conforming
</table>
<!--
@@ -14218,6 +14220,35 @@
</dd>
+ <dt class="impl"><dfn title="attr-meta-http-equiv-set-cookie">Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)
+
+ <dd class="impl">
+
+ <p>This pragma sets an HTTP cookie. <a href="#refsCOOKIES">[COOKIES]</a></p>
+
+ <p>It is non-conforming. Real HTTP headers should be used instead.</p>
+
+ <ol>
+
+ <li><p>If the <code>meta</code> element has no <code
+ title="attr-meta-content">content</code> attribute, or if that
+ attribute's value is the empty string, then abort these
+ steps.</p></li>
+
+ <li><p><span>Obtain the storage mutex</span>.</p></li>
+
+ <li><p>Act as if <span title="receives a
+ set-cookie-string">receiving a set-cookie-string</span> for
+ <span>the document's address</span> via a "non-HTTP" API,
+ consisting of the value of the element's <code
+ title="attr-meta-content">content</code> attribute encoded as
+ UTF-8. <a href="#refsCOOKIES">[COOKIES]</a> <a
+ href="#refsRFC3629">[RFC3629]</a></p></li>
+
+ </ol>
+
+ </dd>
+
</dl>
<p>There must not be more than one <code>meta</code> element with
More information about the Commit-Watchers
mailing list