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

[whatwg] Interface objects in Web Workers

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 2 Dec 2009 05:17:13 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0912020458010.15540@hixie.dreamhostps.com>
On Wed, 25 Nov 2009, Simon Pieters wrote:
>
> The "Interface objects and constructors" section says
> 
> "There must be no interface objects and constructors available in the 
> global scope of scripts whose script's global object is a 
> WorkerGlobalScope object except for the following:"
> 
> WorkerGlobalScope, WorkerLocation, Navigator, AbstractWorker, ErrorEvent 
> are not in the list. Is this intentional? If they're intended to not 
> create interface objects, it would be clearer if the IDLs had 
> [NoInterfaceObject].

I've changed that section to be more precise legalese that automatically 
does the right thing.


> Should EventTarget and Event be in the list?

These are now automatically covered by the new magical text in the 
aforementioned section. (Basically I said that any interfaces relevant to 
exposed APIs are automatically to be available.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 1 December 2009 21:17:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC