Skip to content

Commit

Permalink
[e] (0) Try to clarify the cookie domintro.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8920

git-svn-id: http://svn.whatwg.org/webapps@4781 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 18, 2010
1 parent f0b78a4 commit 51a5e87
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
11 changes: 6 additions & 5 deletions complete.html
Expand Up @@ -7011,11 +7011,12 @@ <h4 id=resource-metadata-management><span class=secno>3.1.3 </span><dfn>Resource
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>
Expand Down
11 changes: 6 additions & 5 deletions index
Expand Up @@ -6910,11 +6910,12 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
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>
Expand Down
12 changes: 7 additions & 5 deletions source
Expand Up @@ -6796,11 +6796,13 @@ interface <dfn>HTMLDocument</dfn> {
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>
Expand Down

0 comments on commit 51a5e87

Please sign in to comment.