W3C home > Mailing lists > Public > public-html-comments@w3.org > January 2011

WebWorkers incorrect example

From: Nathan <nathan@webr3.org>
Date: Mon, 31 Jan 2011 12:05:29 +0000
Message-ID: <4D46A589.3050102@webr3.org>
To: public-html-comments@w3.org
CC: Ian Hickson <ian@hixie.ch>
Hi,

Just a heads up that the Providing libraries example in the Web 
Workers specification [1] repeatedly makes reference to a non-existent 
  "startConversation" method (thus isn't an example of WebWorkers, and 
doesn't work).

Additionally there's a small typo in the example:

   var crytoLib = new Worker('libcrypto-v1.js');

note the missing 'p' in 'crytoLib'.

[1] http://dev.w3.org/html5/workers/#providing-libraries

Best,

Nathan
Received on Monday, 31 January 2011 12:13:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:06 GMT