[whatwg] Interface object vs constructor in Web Workers

Simon Pieters simonp at opera.com
Tue Sep 29 00:49:32 PDT 2009


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



More information about the whatwg mailing list