Re: [whatwg] [canvas] Which interfaces/constructors available in workers?

On Wed, 10 Apr 2013 05:14:26 +0200, Rik Cabanier <cabanier@gmail.com>  
wrote:

> Is there a list somewhere that lists all the interfaces that are  
> available
> to a worker?
> The spec only lists a very small set [1].

I'm not aware of such a list.

For instance WebSocket is available in workers because of this requirement:

[[
This constructor must be visible when the script's global object is either  
a Window object or an object implementing the WorkerGlobalScope interface.
]]
http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#the-websocket-interface

IndexedDB says:

[[
WorkerUtils implements IDBEnvironment;
]]
https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#requests

> 1: http://dev.w3.org/html5/workers/
>
> On Thu, Mar 14, 2013 at 2:08 AM, Simon Pieters <simonp@opera.com> wrote:
>
>> The new canvas proxy stuff is supposed to make canvas work in workers,  
>> but
>> I don't see any normative text that makes the necesary interfaces and
>> constructors actually available in workers. The spec needs to explicitly
>> say that CanvasRenderingContext2D, e.g., is to be available in workers.
>>
>> --
>> Simon Pieters
>> Opera Software
>>


-- 
Simon Pieters
Opera Software

Received on Wednesday, 10 April 2013 06:13:01 UTC