icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -253,9 +253,8 @@ already_AddRefed<DOMSVGPoint> DOMSVGPointList::InsertItemBefore(
return nullptr;
}
aIndex = std::min(aIndex, LengthNoFlush());
if (aIndex >= DOMSVGPoint::MaxListIndex()) {
aRv.ThrowIndexSizeError("Index out of range");
if (LengthNoFlush() >= DOMSVGPoint::MaxListIndex()) {
aRv.ThrowIndexSizeError("List too long");
return nullptr;
}
@ -280,6 +279,8 @@ already_AddRefed<DOMSVGPoint> DOMSVGPointList::InsertItemBefore(
}
}
aIndex = std::min(aIndex, LengthNoFlush());
AutoChangePointListNotifier notifier(this);
// Now that we know we're inserting, keep animVal list in sync as necessary.
MaybeInsertNullInAnimValListAt(aIndex);