Skip to content

Commit

Permalink
[giow] (2) Define http-equiv='set-cookie'
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9578

git-svn-id: http://svn.whatwg.org/webapps@5486 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 25, 2010
1 parent e5c5407 commit 11dc85b
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 12 deletions.
31 changes: 27 additions & 4 deletions complete.html
Expand Up @@ -13126,12 +13126,10 @@ <h5 id=pragma-directives><span class=secno>4.2.5.3 </span>Pragma directives</h5>
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
Expand All @@ -13157,6 +13155,9 @@ <h5 id=pragma-directives><span class=secno>4.2.5.3 </span>Pragma directives</h5>
<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
Expand Down Expand Up @@ -13493,6 +13494,28 @@ <h5 id=pragma-directives><span class=secno>4.2.5.3 </span>Pragma directives</h5>

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

Expand Down
31 changes: 27 additions & 4 deletions index
Expand Up @@ -13103,12 +13103,10 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;
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
Expand All @@ -13134,6 +13132,9 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;
<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
Expand Down Expand Up @@ -13470,6 +13471,28 @@ people expect to have work and what is necessary.

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

Expand Down
39 changes: 35 additions & 4 deletions source
Expand Up @@ -13785,12 +13785,10 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
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>
Expand Down Expand Up @@ -13824,6 +13822,10 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
<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>

<!--
Expand Down Expand Up @@ -14218,6 +14220,35 @@ people expect to have work and what is necessary.

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

0 comments on commit 11dc85b

Please sign in to comment.