W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2009

html5/workers Overview.html,1.128,1.129

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 12 Jun 2009 01:08:20 +0000
To: public-html-commits@w3.org
Message-Id: <E1MEvFk-0008Le-Nb@lionel-hutz.w3.org>
Update of /sources/public/html5/workers
In directory hutz:/tmp/cvs-serv32076

Modified Files:
	Overview.html 
Log Message:
Clarify behaviour in the face of redirects. (whatwg r3224)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- Overview.html	11 Jun 2009 21:40:10 -0000	1.128
+++ Overview.html	12 Jun 2009 01:08:18 -0000	1.129
@@ -151,7 +151,7 @@
    <h1>Web Workers</h1>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 11 June 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 12 June 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -219,7 +219,7 @@
   specification's progress along the W3C Recommendation track.
   <!--ZZZ:-->
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 11 June 2009 Editor's Draft.
+  This specification is the 12 June 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to specify a part of the Web
@@ -1008,7 +1008,7 @@
   attribute must return the <code><a href="#workerlocation">WorkerLocation</a></code> object created
   for the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object when the worker was
   created. It represents the <span>absolute URL</span> of the script
-  that was used to initialize the worker.<hr><p>When a script invokes the <dfn id="dom-workerglobalscope-close" title="dom-WorkerGlobalScope-close"><code>close()</code></dfn>
+  that was used to initialize the worker, after any redirects.<hr><p>When a script invokes the <dfn id="dom-workerglobalscope-close" title="dom-WorkerGlobalScope-close"><code>close()</code></dfn>
   method on a <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object, the user agent
   must run the following steps (atomically):<ol><li><p>Discard any <span title="concept-task">tasks</span> that
    have been added to the <span>event loop</span>'s <span title="task
@@ -1234,10 +1234,14 @@
 
     <p>Attempt to <span>fetch</span> the resource identified by <var title="">url</var>.</p>
 
-    <p>If the attempt fails, then for each <code><a href="#worker">Worker</a></code> or
-    <code><a href="#sharedworker">SharedWorker</a></code> object associated with <var title="">worker global scope</var>, <span>queue a task</span> to
-    <span>fire a simple event</span> called <code title="event-error">error</code> at that object. Abort these
-    steps.</p>
+    <p>If the attempt fails, or if the attempt involves any redirects
+    to URIs that do not have the <span>same origin</span> as <var title="">url</var> (even if the final URI is at the <span>same
+    origin</span> as the original <var title="">url</var>), then for
+    each <code><a href="#worker">Worker</a></code> or <code><a href="#sharedworker">SharedWorker</a></code> object
+    associated with <var title="">worker global scope</var>,
+    <span>queue a task</span> to <span>fire a simple event</span>
+    called <code title="event-error">error</code> at that
+    object. Abort these steps.</p>
 
     <p>If the attempt succeeds, then <a href="#decode-a-script-resource" title="decode a script
     resource">decode the script resource</a> to obtain its <var title="">source</var>.</p>
Received on Friday, 12 June 2009 01:08:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 June 2009 01:08:28 GMT