- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 27 Mar 2009 00:13:49 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv8615 Modified Files: Overview.html Log Message: tweak header levels; remove obsolete issue marker (whatwg r2917) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.98 retrieving revision 1.99 diff -u -d -r1.98 -r1.99 --- Overview.html 26 Mar 2009 00:42:06 -0000 1.98 +++ Overview.html 27 Mar 2009 00:13:47 -0000 1.99 @@ -255,14 +255,13 @@ <li><a href=#decoding-scripts><span class=secno>4.3 </span>Decoding scripts</a></li> <li><a href=#the-event-loop><span class=secno>4.4 </span>The event loop</a></li> <li><a href=#the-worker-s-ports><span class=secno>4.5 </span>The worker's ports</a></li> - <li><a href=#processing-model><span class=secno>4.6 </span>Processing model</a> - <ol> - <li><a href=#runtime-script-errors><span class=secno>4.6.1 </span>Runtime script errors</a></ol></li> - <li><a href=#creating-workers><span class=secno>4.7 </span>Creating workers</a> + <li><a href=#processing-model><span class=secno>4.6 </span>Processing model</a></li> + <li><a href=#runtime-script-errors><span class=secno>4.7 </span>Runtime script errors</a></li> + <li><a href=#creating-workers><span class=secno>4.8 </span>Creating workers</a> <ol> - <li><a href=#the-abstractworker-abstract-interface><span class=secno>4.7.1 </span>The <code>AbstractWorker</code> abstract interface</a></li> - <li><a href=#dedicated-workers-and-the-worker-interface><span class=secno>4.7.2 </span>Dedicated workers and the <code>Worker</code> interface</a></li> - <li><a href=#shared-workers-and-the-sharedworker-interface><span class=secno>4.7.3 </span>Shared workers and the <code>SharedWorker</code> interface</a></ol></ol></li> + <li><a href=#the-abstractworker-abstract-interface><span class=secno>4.8.1 </span>The <code>AbstractWorker</code> abstract interface</a></li> + <li><a href=#dedicated-workers-and-the-worker-interface><span class=secno>4.8.2 </span>Dedicated workers and the <code>Worker</code> interface</a></li> + <li><a href=#shared-workers-and-the-sharedworker-interface><span class=secno>4.8.3 </span>Shared workers and the <code>SharedWorker</code> interface</a></ol></ol></li> <li><a href=#apis-available-to-workers><span class=secno>5 </span>APIs available to workers</a> <ol> <li><a href=#importing-scripts-and-libraries><span class=secno>5.1 </span>Importing scripts and libraries</a></li> @@ -1439,7 +1438,7 @@ queue</span> of the port that the worker's implicit port is entangled with.</li> - </ol><h4 id=runtime-script-errors><span class=secno>4.6.1 </span>Runtime script errors</h4><p>Whenever a runtime script error occurs in one of the worker's + </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 scripts, if the error did not occur while handling a previous script error, the user agent must <span>queue a task</span> to <a href=#fire-an-error-event>fire an error event</a> at the the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> @@ -1473,7 +1472,7 @@ attribute represents the <span>absolute URL</span> of the script in which the error originally occured.<p>The <dfn id=dom-errorevent-lineno title=dom-ErrorEvent-lineno><code>lineno</code></dfn> attribute represents the line number where the error occured in the - script.<h3 id=creating-workers><span class=secno>4.7 </span>Creating workers</h3><h4 id=the-abstractworker-abstract-interface><span class=secno>4.7.1 </span>The <code><a href=#abstractworker>AbstractWorker</a></code> abstract interface</h4><pre class=idl>interface <dfn id=abstractworker>AbstractWorker</dfn> { + 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>interface <dfn id=abstractworker>AbstractWorker</dfn> { attribute <span>EventListener</span> <a href=#handler-abstractworker-onerror title=handler-AbstractWorker-onerror>onerror</a>; attribute <span>EventListener</span> <a href=#handler-abstractworker-onclose title=handler-AbstractWorker-onclose>onclose</a>; };</pre><p>Objects implementing the <code><a href=#abstractworker>AbstractWorker</a></code> interface @@ -1489,7 +1488,7 @@ <dd><p>Must be invoked whenever an <code title=event-close>close</code> event is targeted at or bubbles through the <code><a href=#abstractworker>AbstractWorker</a></code> object.</dd> - </dl><h4 id=dedicated-workers-and-the-worker-interface><span class=secno>4.7.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>(in DOMString scriptURL)] + </dl><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>(in DOMString scriptURL)] interface <dfn id=worker>Worker</dfn> : <a href=#abstractworker>AbstractWorker</a> { void <a href=#dom-worker-terminate title=dom-Worker-terminate>terminate</a>(); @@ -1569,7 +1568,7 @@ </li> - </ol><h4 id=shared-workers-and-the-sharedworker-interface><span class=secno>4.7.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>(in DOMString scriptURL, in DOMString name)] + </ol><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>(in DOMString scriptURL, in DOMString name)] interface <dfn id=sharedworker>SharedWorker</dfn> : <a href=#abstractworker>AbstractWorker</a> { readonly attribute <span>MessagePort</span> <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>
Received on Friday, 27 March 2009 00:13:58 UTC