icecat: add release icecat-140.8.0-2 for aramo

This commit is contained in:
Ark74 2026-03-11 06:58:43 -06:00
parent d9a6c0aa96
commit d570f39e11
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;
}