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

On Oct 3, 2014, at 1:27 PM, Simon Pieters <simonp@opera.com> wrote:

> On Fri, 03 Oct 2014 00:34:13 +0200, Rik Cabanier <cabanier@gmail.com> wrote:
> 
>>> They should be cloneable.
>>> 
>> 
>> Can that be marked in the IDL or is it only in prose?
> 
> Prose.
> 
> "If input is an object that another specification defines how to clone
> Let output be a clone of the object as defined by the other specification."
> https://html.spec.whatwg.org/multipage/infrastructure.html#safe-passing-of-structured-data
> 
> See https://www.khronos.org/registry/typedarray/specs/latest/#cloning-arraybuffer for an example. (This spec is obsolete now.)

I exposed the interfaces to Web Worker and added the section “cloning”[1]. Please provide your feedback.

Greetings,
Dirk

[1] http://dev.w3.org/fxtf/geometry/#cloning

> 
> -- 
> Simon Pieters
> Opera Software

Received on Friday, 10 October 2014 14:48:29 UTC