- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 09 Dec 2011 20:24:11 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv30515 Modified Files: Overview.html Log Message: Drop the last remaining use of [Supplemental]. (whatwg r6857) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.316 retrieving revision 1.317 diff -u -d -r1.316 -r1.317 --- Overview.html 6 Dec 2011 23:38:44 -0000 1.316 +++ Overview.html 9 Dec 2011 20:24:09 -0000 1.317 @@ -215,7 +215,7 @@ <h1>Web Workers</h1> - <h2 class="no-num no-toc" id="editor-s-draft-6-december-2011">Editor's Draft 6 December 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-9-december-2011">Editor's Draft 9 December 2011</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> @@ -322,7 +322,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 6 December 2011 Editor's Draft. + This specification is the 9 December 2011 Editor's Draft. </p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables @@ -1454,8 +1454,8 @@ attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to zero. It represents the line number where the error occurred in the - script.<h3 id="creating-workers"><span class="secno">4.8 </span>Creating workers</h3><h4 id="the-abstractworker-abstract-interface"><span class="secno">4.8.1 </span>The <code><a href="#abstractworker">AbstractWorker</a></code> abstract interface</h4><pre class="idl">[Supplemental, NoInterfaceObject] -interface <dfn id="abstractworker">AbstractWorker</dfn> : <span>EventTarget</span> { + script.<h3 id="creating-workers"><span class="secno">4.8 </span>Creating workers</h3><h4 id="the-abstractworker-abstract-interface"><span class="secno">4.8.1 </span>The <code><a href="#abstractworker">AbstractWorker</a></code> abstract interface</h4><pre class="idl">[NoInterfaceObject] +interface <dfn id="abstractworker">AbstractWorker</dfn> { [TreatNonCallableAsNull] attribute <span>Function</span>? <a href="#handler-abstractworker-onerror" title="handler-AbstractWorker-onerror">onerror</a>; };</pre><p>The following are the <span>event handlers</span> (and their corresponding <span title="event handler event type">event handler @@ -1463,11 +1463,12 @@ objects implementing the <code><a href="#abstractworker">AbstractWorker</a></code> interface:<table><thead><tr><th><span title="event handlers">Event handler</span> <th><span>Event handler event type</span> <tbody><tr><td><dfn id="handler-abstractworker-onerror" title="handler-AbstractWorker-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code> </table><h4 id="dedicated-workers-and-the-worker-interface"><span class="secno">4.8.2 </span>Dedicated workers and the <code><a href="#worker">Worker</a></code> interface</h4><pre class="idl">[<a href="#dom-worker" title="dom-Worker">Constructor</a>(DOMString scriptURL)] -interface <dfn id="worker">Worker</dfn> : <a href="#abstractworker">AbstractWorker</a> { +interface <dfn id="worker">Worker</dfn> : <span>EventTarget</span> { void <a href="#dom-worker-terminate" title="dom-Worker-terminate">terminate</a>(); void <a href="#dom-worker-postmessage" title="dom-Worker-postMessage">postMessage</a>(any message, optional sequence<<span>Transferable</span>> transfer); [TreatNonCallableAsNull] attribute <span>Function</span>? <a href="#handler-worker-onmessage" title="handler-Worker-onmessage">onmessage</a>; -};</pre><p>The <dfn id="dom-worker-terminate" title="dom-Worker-terminate"><code>terminate()</code></dfn> method, +}; +<a href="#worker">Worker</a> implements <a href="#abstractworker">AbstractWorker</a>;</pre><p>The <dfn id="dom-worker-terminate" title="dom-Worker-terminate"><code>terminate()</code></dfn> method, when invoked, must cause the "<a href="#terminate-a-worker">terminate a worker</a>" algorithm to be run on the worker with with the object is associated.<p><code><a href="#worker">Worker</a></code> objects act as if they had an implicit @@ -1581,9 +1582,10 @@ </ol><p>This constructor must be visible when the <span>script's global object</span> is either a <code>Window</code> object or an object implementing the <code><a href="#workerutils">WorkerUtils</a></code> interface.<h4 id="shared-workers-and-the-sharedworker-interface"><span class="secno">4.8.3 </span>Shared workers and the <code><a href="#sharedworker">SharedWorker</a></code> interface</h4><pre class="idl">[<a href="#dom-sharedworker" title="dom-SharedWorker">Constructor</a>(DOMString scriptURL, optional DOMString name)] -interface <dfn id="sharedworker">SharedWorker</dfn> : <a href="#abstractworker">AbstractWorker</a> { +interface <dfn id="sharedworker">SharedWorker</dfn> : <span>EventTarget</span> { readonly attribute <a href="#messageport">MessagePort</a> <a href="#dom-sharedworker-port" title="dom-SharedWorker-port">port</a>; -};</pre><p>The <dfn id="dom-sharedworker-port" title="dom-SharedWorker-port"><code>port</code></dfn> +}; +<a href="#sharedworker">SharedWorker</a> implements <a href="#abstractworker">AbstractWorker</a>;</pre><p>The <dfn id="dom-sharedworker-port" title="dom-SharedWorker-port"><code>port</code></dfn> attribute must return the value it was assigned by the object's constructor. It represents the <code><a href="#messageport">MessagePort</a></code> for communicating with the shared worker.<p>When the <dfn id="dom-sharedworker" title="dom-SharedWorker"><code>SharedWorker(<var title="">scriptURL</var>, <var title="">name</var>)</code></dfn>
Received on Friday, 9 December 2011 20:24:18 UTC