- From: poot <cvsmail@w3.org>
- Date: Fri, 10 Jul 2009 13:34:38 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Define the task source for web workers. (whatwg r3383) http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.137&r2=1.138&f=h http://html5.org/tools/web-apps-tracker?from=3382&to=3383 =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- Overview.html 29 Jun 2009 11:24:41 -0000 1.137 +++ Overview.html 10 Jul 2009 04:34:16 -0000 1.138 @@ -173,7 +173,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 29 June 2009</h2> + <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 10 July 2009</h2> <!--:ZZZ--> <dl><!-- ZZZ: update the month/day (twice), (un)comment out <dt>This Version:</dt> @@ -241,7 +241,7 @@ specification's progress along the W3C Recommendation track. <!--ZZZ:--> <!--This specification is the 23 April 2009 Working Draft.--> - This specification is the 29 June 2009 Editor's Draft. + This specification is the 10 July 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 @@ -1483,7 +1483,8 @@ queue</span> of the port that the worker's implicit port is entangled with.</li> - </ol><h3 id="runtime-script-errors"><span class="secno">4.7 </span>Runtime script errors</h3><p>Whenever a runtime script error occurs in one of the worker's + </ol><hr><p>The <span>task source</span> for the tasks mentioned above is the + <span>DOM manipulation task source</span>.<h3 id="runtime-script-errors"><span class="secno">4.7 </span>Runtime script errors</h3><p>Whenever a runtime script error occurs in one of the worker's scripts, if the error did not occur while handling a previous script error, the user agent must <span>report the error</span> using the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object's <code title="handler-WorkerGlobalScope-onerror"><a href="#handler-workerglobalscope-onerror">onerror</a></code> @@ -1503,7 +1504,8 @@ again <span>queue a task</span> to <a href="#fire-a-worker-error-event">fire a worker error event</a> at the <code><a href="#worker">Worker</a></code> object associated with <em>that</em> worker. Otherwise, then the error should be reported - to the user.<hr><pre class="idl">interface <dfn id="errorevent">ErrorEvent</dfn> : Event { + to the user.<p>The <span>task source</span> for the tasks mentioned above is the + <span>DOM manipulation task source</span>.<hr><pre class="idl">interface <dfn id="errorevent">ErrorEvent</dfn> : Event { readonly attribute DOMObject <a href="#dom-errorevent-message" title="dom-ErrorEvent-message">message</a>; readonly attribute DOMObject <a href="#dom-errorevent-filename" title="dom-ErrorEvent-filename">filename</a>; readonly attribute unsigned long <a href="#dom-errorevent-lineno" title="dom-ErrorEvent-lineno">lineno</a>; @@ -1805,7 +1807,8 @@ </ol><p>This constructor must be visible when the <span>script's global scope</span> is either a <code>Window</code> object or an object - implementing the <code><a href="#workerutils">WorkerUtils</a></code> interface.<h2 id="apis-available-to-workers"><span class="secno">5 </span>APIs available to workers</h2><pre class="idl">[NoInterfaceObject, ImplementedOn=WorkerGlobalScope, Supplemental] interface <dfn id="workerutils">WorkerUtils</dfn> { + implementing the <code><a href="#workerutils">WorkerUtils</a></code> interface.<p>The <span>task source</span> for the tasks mentioned above is the + <span>DOM manipulation task source</span>.<h2 id="apis-available-to-workers"><span class="secno">5 </span>APIs available to workers</h2><pre class="idl">[NoInterfaceObject, ImplementedOn=WorkerGlobalScope, Supplemental] interface <dfn id="workerutils">WorkerUtils</dfn> { void <a href="#dom-workerglobalscope-importscripts" title="dom-WorkerGlobalScope-importScripts">importScripts</a>([Variadic] in DOMString urls); readonly attribute <a href="#worker-navigator" title="worker-Navigator">Navigator</a> <a href="#dom-worker-navigator" title="dom-worker-navigator">navigator</a>; };</pre><p>Objects that implement the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code>
Received on Friday, 10 July 2009 04:35:14 UTC