- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 27 Oct 2009 08:00:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers
In directory hutz:/tmp/cvs-serv3604
Modified Files:
Overview.html
Log Message:
correct examples (whatwg r4343)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -d -r1.194 -r1.195
--- Overview.html 21 Oct 2009 09:58:43 -0000 1.194
+++ Overview.html 27 Oct 2009 08:00:27 -0000 1.195
@@ -170,7 +170,7 @@
<h1>Web Workers</h1>
<!--ZZZ:-->
<!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
- <h2 class="no-num no-toc" id="editor-s-draft-21-october-2009">Editor's Draft 21 October 2009</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-27-october-2009">Editor's Draft 27 October 2009</h2>
<!--:ZZZ-->
<dl><!-- ZZZ: update the month/day (twice), (un)comment out
<dt>This Version:</dt>
@@ -238,7 +238,7 @@
specification's progress along the W3C Recommendation track.
<!--ZZZ:-->
<!--This specification is the 23 April 2009 Working Draft.-->
- This specification is the 21 October 2009 Editor's Draft.
+ This specification is the 27 October 2009 Editor's Draft.
<!--:ZZZ-->
</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
@@ -822,7 +822,7 @@
}
// support being used as a shared worker as well as a dedicated worker
-if (this.onmessage) // dedicated worker
+if ('onmessage' in this) // dedicated worker
onmessage = handleMessage;
else // shared worker
onconnect = function (e) { e.port.onmessage = handleMessage; }
@@ -921,7 +921,7 @@
}
// support being used as a shared worker as well as a dedicated worker
-if (this.onmessage) // dedicated worker
+if ('onmessage' in this) // dedicated worker
onmessage = handleMessage;
else // shared worker
onconnect = function (e) { e.ports[0].onmessage = handleMessage };
Received on Tuesday, 27 October 2009 08:00:34 UTC