[fxtf-drafts] [geometry] "When a user agent is asked to clone an DOMPoint..."

dirkschulze has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [geometry] "When a user agent is asked to clone an DOMPoint..." ==
>From @zcorpan on https://www.w3.org/Bugs/Public/show_bug.cgi?id=29556:

>https://drafts.fxtf.org/geometry/#cloning
>
>[[
>When a user agent is asked to clone an DOMPointReadOnly, DOMPoint, DOMRectReadOnly, DOMRect, DOMQuad, DOMMatrixReadOnly or DOMMatrix object >old, it must run the following steps, which return a new object of same type. These steps must be run atomically.
>
>Create a new object new of the same type as old. Copy all member variable values from old to new.
>Return new. It is the clone.
>The above algorithm follows the “safe passing of structured data” [HTML5] definitions.
>]]
>
>Need to update this section in terms of https://html.spec.whatwg.org/multipage/infrastructure.html#safe-passing-of-structured-data

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/273 using your GitHub account

Received on Sunday, 15 April 2018 17:41:28 UTC