W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2009

[whatwg] Interface object vs constructor in Web Workers

From: Simon Pieters <simonp@opera.com>
Date: Tue, 29 Sep 2009 09:49:32 +0200
Message-ID: <op.u00dcuppidj3kv@pc205.coreteam.oslo.opera.com>
On Fri, 25 Sep 2009 14:47:10 +0200, Simon Pieters <simonp at opera.com> wrote:

> http://www.whatwg.org/specs/web-workers/current-work/#interface-objects-and-constructors  
> seems to say that there must be no interface object for Worker and  
> SharedWorker, but the constructors are to be available, which doesn't  
> make any sense since the constructor and the interface object are in  
> fact the same object, unless I'm misunderstanding things.

Also, it should probably say "Worker and SharedWorker" instead of  
"Worker() and SharedWorker(url)".

-- 
Simon Pieters
Opera Software
Received on Tuesday, 29 September 2009 00:49:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC