[whatwg] Interface objects defined in Web Workers outside workers

Ian Hickson ian at hixie.ch
Wed Dec 9 06:56:43 PST 2009


On Mon, 7 Dec 2009, Simon Pieters wrote:
>
> It's not clear from the Web Workers spec which interface objects and 
> constructors should be available to the non-worker context. Worker and 
> SharedWorker obviously should be available, but what about 
> AbstractWorker and the others? I think Worker, SharedWorker and 
> ErrorEvent should probably be available, but the others not.

WebIDL says they're all always available. I've excluded the ones where 
that should not happen, and made AbstractWorker an editorial issue (by 
using [Supplemental] in a new fourth way... I hope we get a spec for that 
one day!).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list