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

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.)

-- 
Simon Pieters
Opera Software

Received on Friday, 3 October 2014 11:27:58 UTC