- From: Simon Pieters <simonp@opera.com>
- Date: Wed, 11 Nov 2009 16:39:46 +0100
On Wed, 11 Nov 2009 16:05:53 +0100, Simon Pieters <simonp at opera.com> wrote: > Shouldn't setting onmessage on a Worker object enable the port message > queue? > > Currently step 8 of the "run a worker" algorithm enables the port > message queue for the WorkerGlobalObjectScope side, but it is never > enabled when going in the other direction, if I'm reading the spec > correctly. Hmm. Actually, step 12 and 13 of the Worker constructor enable the port message queue for both the inside and outside ports. Why does the "run a worker" algorithm enable one of them again? Isn't it too early to enable the port message queues before the worker has run and set 'onmessage'? -- Simon Pieters Opera Software
Received on Wednesday, 11 November 2009 07:39:46 UTC