Re: [whatwg] Questions on Workers spec

2008-11-13 Thread David Levin
It looks like all of this is there in a just published update of the spec.


On Wed, Nov 12, 2008 at 11:33 AM, Dmitry Titov [EMAIL PROTECTED] wrote:

 Hi,
 I have couple of questions about Workers:

 1. The sample code looks as
 if  setTimeout/clearTimeout/setInterval/clearInterval should be available to
 Workers (as methods of WorkerUtils?) but they are not explicitly specified
 on any interface. Should they be there?

 2. It seems workers should be able to create workers (including creating
 'themselves' in case of SharedWorker). It is especially useful for a
  SharedWorker to create dedicated workers - since one of the popular
 scenarios for it is likely  a state container that communicates with UI
 pages while using dedicated workers to do other operations. Will spec
 include this?


 Thanks
 Dmitry



[whatwg] Questions on Workers spec

2008-11-12 Thread Dmitry Titov
Hi,
I have couple of questions about Workers:

1. The sample code looks as
if  setTimeout/clearTimeout/setInterval/clearInterval should be available to
Workers (as methods of WorkerUtils?) but they are not explicitly specified
on any interface. Should they be there?

2. It seems workers should be able to create workers (including creating
'themselves' in case of SharedWorker). It is especially useful for a
 SharedWorker to create dedicated workers - since one of the popular
scenarios for it is likely  a state container that communicates with UI
pages while using dedicated workers to do other operations. Will spec
include this?


Thanks
Dmitry