Intent to ship: DOMPoint interface from its latest spec

Over in bug 1186265 [1], I've updated our implementation of the DOMPoint and
DOMPointReadOnly interfaces to the current draft spec. Our previous
implementation was of the CR, released in 2014. The change with the most
danger of breaking existing code is the removal of the constructor taking a
DOMPointInit dictionary and moving it to a DOMPoint{ReadOnly}.fromPoint static
function. We don't have any evidence that this constructor is used in the
wild.

This will be available everywhere. This change causes us to pass several
previously-failing WPTs and I've updated the one test that assumed the old
interface to correctly test the new interface.

Spec: https://drafts.fxtf.org/geometry/#dompoint
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1186265
-- 
Blake Kaplan
0
Blake
4/16/2018 4:41:51 PM
mozilla.dev.platform 6291 articles. 0 followers. Post Follow

0 Replies
0 Views

Similar Articles

[PageSpeed] 39

Reply: