W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2010

hixie: Try to clarify the cookie domintro. (whatwg r4781)

From: poot <cvsmail@w3.org>
Date: Thu, 18 Feb 2010 16:49:33 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100218074934.301D52BBF1@toro.w3.mag.keio.ac.jp>
hixie: Try to clarify the cookie domintro. (whatwg r4781)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3828&r2=1.3829&f=h
http://html5.org/tools/web-apps-tracker?from=4780&to=4781

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3828
retrieving revision 1.3829
diff -u -d -r1.3828 -r1.3829
--- Overview.html	18 Feb 2010 07:44:27 -0000	1.3828
+++ Overview.html	18 Feb 2010 07:49:23 -0000	1.3829
@@ -6039,11 +6039,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">
Received on Thursday, 18 February 2010 07:50:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:17 GMT