- From: poot <cvsmail@w3.org>
- Date: Thu, 23 Jun 2011 19:49:15 -0400
- To: public-html-diffs@w3.org
workers; hixie: add infrastructure to postMessage() to support ArrayBuffer cloning (whatwg r6273) http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.295&r2=1.296&f=h http://html5.org/tools/web-apps-tracker?from=6272&to=6273 =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.295 retrieving revision 1.296 diff -u -d -r1.295 -r1.296 --- Overview.html 21 Jun 2011 22:04:56 -0000 1.295 +++ Overview.html 23 Jun 2011 23:49:04 -0000 1.296 @@ -211,7 +211,7 @@ <h1>Web Workers</h1> - <h2 class="no-num no-toc" id="editor-s-draft-21-june-2011">Editor's Draft 21 June 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-23-june-2011">Editor's Draft 23 June 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> @@ -316,7 +316,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 21 June 2011 Editor's Draft. + This specification is the 23 June 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 @@ -1013,7 +1013,7 @@ the interface's <span>relevant namespace object</span> is a <code>Window</code> object. <a href="#refsWEBIDL">[WEBIDL]</a><h4 id="dedicated-workers-and-the-dedicatedworkerglobalscope-interface"><span class="secno">4.1.2 </span>Dedicated workers and the <code><a href="#dedicatedworkerglobalscope">DedicatedWorkerGlobalScope</a></code> interface</h4><pre class="idl">[Supplemental, NoInterfaceObject] interface <dfn id="dedicatedworkerglobalscope">DedicatedWorkerGlobalScope</dfn> : <a href="#workerglobalscope">WorkerGlobalScope</a> { - void <a href="#dom-dedicatedworkerglobalscope-postmessage" title="dom-DedicatedWorkerGlobalScope-postMessage">postMessage</a>(in any message, in optional sequence<<span>MessagePort</span>> ports); attribute <span>Function</span>? <a href="#handler-dedicatedworkerglobalscope-onmessage" title="handler-DedicatedWorkerGlobalScope-onmessage">onmessage</a>; + void <a href="#dom-dedicatedworkerglobalscope-postmessage" title="dom-DedicatedWorkerGlobalScope-postMessage">postMessage</a>(in any message, in optional sequence<<span>Transferable</span>> transfer); attribute <span>Function</span>? <a href="#handler-dedicatedworkerglobalscope-onmessage" title="handler-DedicatedWorkerGlobalScope-onmessage">onmessage</a>; };</pre><p><code><a href="#dedicatedworkerglobalscope">DedicatedWorkerGlobalScope</a></code> objects act as if they had an implicit <code>MessagePort</code> associated with them. This port is part of a channel that is set up when the worker is created, @@ -1392,7 +1392,7 @@ interface <dfn id="worker">Worker</dfn> : <a href="#abstractworker">AbstractWorker</a> { void <a href="#dom-worker-terminate" title="dom-Worker-terminate">terminate</a>(); - void <a href="#dom-worker-postmessage" title="dom-Worker-postMessage">postMessage</a>(in any message, in optional sequence<<span>MessagePort</span>> ports); attribute <span>Function</span>? <a href="#handler-worker-onmessage" title="handler-Worker-onmessage">onmessage</a>; + void <a href="#dom-worker-postmessage" title="dom-Worker-postMessage">postMessage</a>(in any message, in optional sequence<<span>Transferable</span>> transfer); 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, 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
Received on Thursday, 23 June 2011 23:49:21 UTC