- From: poot <cvsmail@w3.org>
- Date: Tue, 16 Dec 2008 10:35:02 +0900 (JST)
- To: public-html-diffs@w3.org
Drop MessagePort.onclose. (whatwg r76) kill a worker http://people.w3.org/mike/diffs/html5/workers/Overview.1.69.html#kill-a close() http://people.w3.org/mike/diffs/html5/workers/Overview.1.69.html#close http://people.w3.org/mike/diffs/html5/workers/Overview.diff.html http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.68&r2=1.69&f=h http://html5.org/tools/web-apps-tracker?from=75&to=76 =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- Overview.html 16 Dec 2008 00:52:40 -0000 1.68 +++ Overview.html 16 Dec 2008 01:34:24 -0000 1.69 @@ -1278,23 +1278,7 @@ another port and that has one (but only one) port whose owner is the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object on which the method was invoked (this would include, for instance, the - implicit port in used for dedicated workers), run the following - substeps:</p> - - <ol> - <li> - <p>Unentangle the two ports. - - <li> - <p><span>Queue a task</span> on the <span>event loop</span> handling - events for the other <code>MessagePort</code> (the one whose owner is - not the <code><a - href="#workerglobalscope">WorkerGlobalScope</a></code> object on which - the <code title=dom-WorkerGlobalScope-close><a - href="#close">close()</a></code> method was called) to <span>fire a - simple event</span> called <code title=event-close>close</code> at - that other <code>MessagePort</code> object. - </ol> + implicit port in used for dedicated workers), unentangle the two ports. </ol> <p>The following are the <span>event handler DOM attributes</span> that @@ -1686,13 +1670,12 @@ <ol> <li> - <p><span>Queue a task</span> to <span>fire a simple event</span> called - <code title=event-close>close</code> at the worker's <code><a + <p>If the worker's <code><a + href="#workerglobalscope">WorkerGlobalScope</a></code> object's <a + href="#closing" title=dom-WorkerGlobalScope-closing>closing</a> flag is + false, <span>queue a task</span> to <span>fire a simple event</span> + called <code title=event-close>close</code> at the worker's <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object. - </li> - <!-- XXX - shouldn't add one if closing is already true, assuming close has - already been added to the queue (?) --> <li> <p>Set the worker's <code><a
Received on Tuesday, 16 December 2008 01:35:38 UTC