No Issue - Fix a typo in DOMSVGPoint constructor.

Bug 1442972

DOMSVGPoint constructor checked mX is finite twice, leaving out mY finite.

-- Stupidly rushed.  Shambles.
This commit is contained in:
Shadow 2025-05-15 14:09:07 +00:00 committed by roytam1
commit a8f9e383fa

View file

@ -81,7 +81,7 @@ public:
{
mPt.mX = aPt.x;
mPt.mY = aPt.y;
NS_ASSERTION(IsFinite(mPt.mX) && IsFinite(mPt.mX),
NS_ASSERTION(IsFinite(mPt.mX) && IsFinite(mPt.mY),
"DOMSVGPoint coords are not finite");
}