[html5] r4781 - [e] (0) Try to clarify the cookie domintro. Fixing http://www.w3.org/Bugs/Public [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Feb 17 23:49:20 PST 2010
Author: ianh
Date: 2010-02-17 23:49:18 -0800 (Wed, 17 Feb 2010)
New Revision: 4781
Modified:
complete.html
index
source
Log:
[e] (0) Try to clarify the cookie domintro.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8920
Modified: complete.html
===================================================================
--- complete.html 2010-02-18 07:44:21 UTC (rev 4780)
+++ complete.html 2010-02-18 07:49:18 UTC (rev 4781)
@@ -7011,11 +7011,12 @@
applied to this resource, the empty string will be returned.</p>
<p>Can be set, to add a new cookie to the element's set of HTTP
cookies.</p>
- <p>Cookies of <code><a href=#document>Document</a></code>s that weren't obtained by
- downloading a resource from a Web site will always be blank, even
- after being set. If the contents are <a href=#sandboxed-origin-browsing-context-flag title="sandboxed origin
- browsing context flag">sandboxed into a unique origin</a>, a
- <code><a href=#security_err>SECURITY_ERR</a></code> exception will be thrown.</p>
+ <p>If the contents are <a href=#sandboxed-origin-browsing-context-flag title="sandboxed origin browsing
+ context flag">sandboxed into a unique origin</a> (in an
+ <code><a href=#the-iframe-element>iframe</a></code> with the <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code> attribute) or the
+ resource was labeled as <code><a href=#text/html-sandboxed>text/html-sandboxed</a></code>, a
+ <code><a href=#security_err>SECURITY_ERR</a></code> exception will be thrown on getting and
+ setting.</p>
</dd>
</dl><div class=impl>
Modified: index
===================================================================
--- index 2010-02-18 07:44:21 UTC (rev 4780)
+++ index 2010-02-18 07:49:18 UTC (rev 4781)
@@ -6910,11 +6910,12 @@
applied to this resource, the empty string will be returned.</p>
<p>Can be set, to add a new cookie to the element's set of HTTP
cookies.</p>
- <p>Cookies of <code><a href=#document>Document</a></code>s that weren't obtained by
- downloading a resource from a Web site will always be blank, even
- after being set. If the contents are <a href=#sandboxed-origin-browsing-context-flag title="sandboxed origin
- browsing context flag">sandboxed into a unique origin</a>, a
- <code><a href=#security_err>SECURITY_ERR</a></code> exception will be thrown.</p>
+ <p>If the contents are <a href=#sandboxed-origin-browsing-context-flag title="sandboxed origin browsing
+ context flag">sandboxed into a unique origin</a> (in an
+ <code><a href=#the-iframe-element>iframe</a></code> with the <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code> attribute) or the
+ resource was labeled as <code><a href=#text/html-sandboxed>text/html-sandboxed</a></code>, a
+ <code><a href=#security_err>SECURITY_ERR</a></code> exception will be thrown on getting and
+ setting.</p>
</dd>
</dl><div class=impl>
Modified: source
===================================================================
--- source 2010-02-18 07:44:21 UTC (rev 4780)
+++ source 2010-02-18 07:49:18 UTC (rev 4781)
@@ -6796,11 +6796,13 @@
applied to this resource, the empty string will be returned.</p>
<p>Can be set, to add a new cookie to the element's set of HTTP
cookies.</p>
- <p>Cookies of <code>Document</code>s that weren't obtained by
- downloading a resource from a Web site will always be blank, even
- after being set. If the contents are <span title="sandboxed origin
- browsing context flag">sandboxed into a unique origin</span>, a
- <code>SECURITY_ERR</code> exception will be thrown.</p>
+ <p>If the contents are <span title="sandboxed origin browsing
+ context flag">sandboxed into a unique origin</span> (in an
+ <code>iframe</code> with the <code
+ title="attr-iframe-sandbox">sandbox</code> attribute) or the
+ resource was labeled as <code>text/html-sandboxed</code>, a
+ <code>SECURITY_ERR</code> exception will be thrown on getting and
+ setting.</p>
</dd>
</dl>
More information about the Commit-Watchers
mailing list