Re: [fxtf-drafts] [geometry] DOMMatrix constructor is a performance and code portability footgun (#346)

The goal was to reduce WebIDL overloads.

That said, if people do `new DOMMatrix(new DOMMatrix())` (or variants), then I think it makes sense to add a `DOMMatrixReadOnly` overload. The only problem I think would be reduced consistency with other geometry APIs, but as you point out the current setup is a bit problematic.

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/346#issuecomment-503213278 using your GitHub account

Received on Tuesday, 18 June 2019 16:33:31 UTC