From a8f9e383faf5435fb9f4e8942a68585ca5bc7e2f Mon Sep 17 00:00:00 2001 From: Shadow Date: Thu, 15 May 2025 14:09:07 +0000 Subject: [PATCH] No Issue - Fix a typo in DOMSVGPoint constructor. Bug 1442972 DOMSVGPoint constructor checked mX is finite twice, leaving out mY finite. -- Stupidly rushed. Shambles. --- dom/svg/DOMSVGPoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/svg/DOMSVGPoint.h b/dom/svg/DOMSVGPoint.h index de27111083..389c456d40 100644 --- a/dom/svg/DOMSVGPoint.h +++ b/dom/svg/DOMSVGPoint.h @@ -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"); }