icecat: add release icecat-140.8.0-2gnu1 for ecne

This commit is contained in:
Ark74 2026-03-11 04:51:36 -06:00
parent 450538011a
commit 8eb1f1732f
616 changed files with 39955 additions and 33937 deletions

View file

@ -206,7 +206,11 @@ nsresult SourceBuffer::Compact() {
if (capacity == MAX_CHUNK_CAPACITY) {
size_t lastLength = mChunks.LastElement().Length();
if (lastLength != capacity) {
mChunks.LastElement().SetCapacity(lastLength);
if (lastLength == 0) {
mChunks.RemoveLastElement();
} else {
mChunks.LastElement().SetCapacity(lastLength);
}
}
return NS_OK;
}