- From: poot <cvsmail@w3.org>
- Date: Mon, 12 Apr 2010 17:04:29 +0900 (JST)
- To: public-html-diffs@w3.org
workers; hixie: add some worker demo links (whatwg r4998) http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.244&r2=1.245&f=h http://html5.org/tools/web-apps-tracker?from=4997&to=4998 =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.244 retrieving revision 1.245 diff -u -d -r1.244 -r1.245 --- Overview.html 4 Apr 2010 06:34:30 -0000 1.244 +++ Overview.html 12 Apr 2010 08:04:19 -0000 1.245 @@ -183,7 +183,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>Web Workers</h1> - <h2 class="no-num no-toc" id="editor-s-draft-4-april-2010">Editor's Draft 4 April 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-12-april-2010">Editor's Draft 12 April 2010</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> @@ -244,7 +244,7 @@ Working Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 4 April 2010 Editor's Draft. + This specification is the 12 April 2010 Editor's Draft. </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 platform closely related to HTML5. It is defined in a separate @@ -470,7 +470,7 @@ var port = e.ports[0]; port.postMessage('Hello World!'); } -</pre><hr><p>This second example extends the first one by changing two things: +</pre><p><a href="http://www.whatwg.org/demos/workers/shared/001.html">View this example online</a>.<hr><p>This second example extends the first one by changing two things: first, messages are received using <code title="">addEventListener()</code> instead of an <span title="event handler IDL attributes">event handler IDL attribute</span>, and second, a message is sent <em>to</em> the worker, causing the worker @@ -495,7 +495,7 @@ // e.target.postMessage('pong'); would work also } } -</pre><hr><p>Finally, the example is extended to show how two pages can +</pre><p><a href="http://www.whatwg.org/demos/workers/shared/002.html">View this example online</a>.<hr><p>Finally, the example is extended to show how two pages can connect to the same worker; in this case, the second page is merely in an <code>iframe</code> on the first page, but the same principle would apply to an entirely separate page in a separate @@ -531,7 +531,7 @@ port.postMessage('pong'); } } -</pre><h4 id="shared-state-using-a-shared-worker"><span class="secno">1.2.5 </span>Shared state using a shared worker</h4><p><i>This section is non-normative.</i><p>In this example, multiple windows (viewers) can be opened that +</pre><p><a href="http://www.whatwg.org/demos/workers/shared/003.html">View this example online</a>.<h4 id="shared-state-using-a-shared-worker"><span class="secno">1.2.5 </span>Shared state using a shared worker</h4><p><i>This section is non-normative.</i><p>In this example, multiple windows (viewers) can be opened that are all viewing the same map. All the windows share the same map information, with a single worker coordinating all the viewers. Each viewer can move around independently, but if they set any data on
Received on Monday, 12 April 2010 08:04:59 UTC