The most recent specification gives DOMPointReadOnly a constructor as well as
a static fromPoint method.
This fixes several failing wpt tests.
MozReview-Commit-ID: 4mPhMm5yhJA
The Web IDL for DOMPoint no longer has this constructor. As far as I can tell,
it is still unused, so let's follow the spec.
MozReview-Commit-ID: 6Lz1BN5YAV5
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.