- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 24 Aug 2010 18:52:50 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5879
Modified Files:
Overview.html
Log Message:
Allow XHR a way to block cookies. (whatwg r5330)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4248
retrieving revision 1.4249
diff -u -d -r1.4248 -r1.4249
--- Overview.html 24 Aug 2010 08:28:35 -0000 1.4248
+++ Overview.html 24 Aug 2010 18:52:45 -0000 1.4249
@@ -5334,9 +5334,9 @@
<p>When a user agent is to <dfn id="fetch">fetch</dfn> a resource or
<a href="#url">URL</a>, optionally from an origin <i title="">origin</i>,
and optionally with a <i>synchronous flag</i>, a <i>manual redirect
- flag</i>, and/or a <i>force same-origin flag</i>, the following
- steps must be run. (When a <em>URL</em> is to be fetched, the URL
- identifies a resource to be obtained.)</p>
+ flag</i>, a <i>force same-origin flag</i>, and/or a <i>block cookies
+ flag</i>, the following steps must be run. (When a <em>URL</em> is
+ to be fetched, the URL identifies a resource to be obtained.)</p>
<!-- if invoked with the synchronous flag, make sure to release the
storage mutex first -->
@@ -5351,6 +5351,8 @@
the same as the /origin/, which must also be present, and the
algorithm must not be invoked with the manual redirect flag. -->
+ <!-- "block cookies" is currently only used by XHR -->
+
<ol><li>
<p>Generate the <i>address of the resource from which Request-URIs
@@ -5426,8 +5428,9 @@
<li>
- <p>If there are cookies to be set, then the user agent must run
- the following substeps:</p>
+ <p>If the algorithm was not invoked with the <i>block cookies
+ flag</i>, and there are cookies to be set, then the user agent
+ must run the following substeps:</p>
<ol><li><p>Wait until ownership of the <a href="#storage-mutex">storage mutex</a> can
be taken by this instance of the <a href="#fetch" title="fetch">fetching</a> algorithm.</li>
Received on Tuesday, 24 August 2010 18:52:51 UTC