- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 12 Sep 2012 23:14:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv5531 Modified Files: Overview.html Log Message: Attempt to actually define what Referer headers are used for a whole host of things that were poorly defined. Also: cleanup of a bunch of editorial mistakes I found from past such attempts. Mark every fetch algorithm use for sanity in the future. Block data:, javascript:, and about:blank referrers. Note: This relies on not-yet-done changes to CORS and XHR. (whatwg r7341) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.340 retrieving revision 1.341 diff -u -d -r1.340 -r1.341 --- Overview.html 26 Aug 2012 03:55:46 -0000 1.340 +++ Overview.html 12 Sep 2012 23:14:53 -0000 1.341 @@ -216,7 +216,7 @@ <h1>Web Workers</h1> - <h2 class="no-num no-toc" id="editor-s-draft-26-august-2012">Editor's Draft 26 August 2012</h2> + <h2 class="no-num no-toc" id="editor-s-draft-12-september-2012">Editor's Draft 12 September 2012</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/workers/">http://www.w3.org/TR/workers/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -355,7 +355,7 @@ </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications Working Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 26 August 2012 Editor's Draft. + This specification is the 12 September 2012 Editor's Draft. </p> @@ -1603,9 +1603,11 @@ <li> - <p>Attempt to <span>fetch</span> the resource identified by <var title="">url</var>, from the <var title="">owner origin</var>, - with the <i>synchronous flag</i> set and the <i>force same-origin - flag</i> set.</p> + <p>Attempt to <span>fetch</span> the resource + identified by <var title="">url</var>, from the <var title="">owner origin</var>, using <var title="">owner + document</var> as the <span>referrer source</span>, with the + <i>synchronous flag</i> set and the <i>force same-origin flag</i> + set.</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 @@ -1658,6 +1660,8 @@ <p>Set the <span>script's document</span> to <var title="">owner document</var>.</p> + <p>Set the <span>script's referrer source</span> to <var title="">url</var>.</p> + <p>Set the <span>script's URL character encoding</span> to UTF-8. (This is just used for encoding non-ASCII characters in the query component of URLs.)</p> @@ -2355,10 +2359,11 @@ <li> - <p>Attempt to <span>fetch</span> each resource identified by the - resulting <span title="absolute URL">absolute URLs</span>, from - the <span>entry script</span>'s <span>origin</span>, with the - <i>synchronous flag</i> set.</p> + <p>Attempt to <span>fetch</span> each resource + identified by the resulting <span title="absolute URL">absolute + URLs</span>, from the <span>entry script</span>'s + <span>origin</span>, using the <span>entry script</span>'s <span title="script's referrer source">referrer source</span>, and with + the <i>synchronous flag</i> set.</p> </li> @@ -2396,8 +2401,8 @@ <p><span>Create a script</span>, using <var title="">source</var> as the script source, the <span>URL</span> from which <var title="">source</var> was obtained, and <var title="">language</var> as the scripting language, using the - same global object, browsing context, URL character encoding, - base URL, and script group as the <span title="concept-script">script</span> that was created by the + same global object, browsing context, document, referrer source, + URL character encoding, and base URL as the <span title="concept-script">script</span> that was created by the worker's <a href="#run-a-worker">run a worker</a> algorithm.</p> <p>Let the newly created <span title="concept-script">script</span> run until it either @@ -2460,7 +2465,9 @@ null. The <span><code>XMLHttpRequest</code> base URL</span> is the <span>script's base URL</span>; the <span><code>XMLHttpRequest</code> origin</span> is the script's - <span>origin</span>. <a href="#refsXHR">[XHR]</a></li> + <span>origin</span>, and the <span><code>XMLHttpRequest</code> + referrer source</span> is the <span>script's referrer + source</span>. <a href="#refsXHR">[XHR]</a></li> <li><p>The interface objects and constructors defined by this specification, except where is further restricted by explicit
Received on Wednesday, 12 September 2012 23:14:57 UTC