W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2014

Re: [geometry] Expose DOMPoint, DOMRect, DOMMatrix to Workers

From: Simon Pieters <simonp@opera.com>
Date: Wed, 01 Oct 2014 12:08:16 +0200
To: FX <public-fx@w3.org>, "Dirk Schulze" <dschulze@adobe.com>
Message-ID: <op.xm1qf2weidj3kv@simons-mbp>
On Wed, 01 Oct 2014 09:30:22 +0200, Dirk Schulze <dschulze@adobe.com>  
wrote:

> Hi,
>
> I plan to expose the interfaces DOMPoint, DOMRect, DOMMatrix and the  
> readonly pendants to Workers as well. Currently they are just exposed to  
> Window and therefore can’t be created in Workers. There is no need for  
> this limitation. Any objections?

What is the use case?


You should also make them cloneable and/or transferable (whichever is  
appropriate) if you do that.

https://html.spec.whatwg.org/multipage/infrastructure.html#safe-passing-of-structured-data

(That might be moved to the ES spec at some point,  
http://wiki.ecmascript.org/doku.php?id=strawman:structured_clone )

-- 
Simon Pieters
Opera Software
Received on Wednesday, 1 October 2014 10:08:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:53 UTC