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

@ -7572,6 +7572,15 @@ void DatabaseConnection::UpdateRefcountFunction::ReleaseSavepoint() {
mConnection->AssertIsOnConnectionThread();
MOZ_ASSERT(mInSavepoint);
// The savepoint is being committed. The deltas it contributed are now
// permanent in mDelta, so reset mSavepointDelta on each entry before
// dropping the index. The FileInfoEntry objects themselves persist in
// mFileInfoEntries across savepoints; without this reset, a stale
// mSavepointDelta would be carried into the next savepoint.
for (const auto& entry : mSavepointEntriesIndex.Values()) {
entry->ResetSavepointDelta();
}
mSavepointEntriesIndex.Clear();
mInSavepoint = false;
}
@ -10329,6 +10338,13 @@ bool TransactionBase::VerifyRequestParams(
if (NS_AUUF_OR_WARN_IF(!file)) {
return false;
}
// Reject actors managed by a different Database
if (NS_AUUF_OR_WARN_IF(file->Manager() !=
static_cast<const PBackgroundIDBDatabaseParent*>(
&GetDatabase()))) {
return false;
}
break;
case StructuredCloneFileBase::eMutableFile: {
@ -17012,6 +17028,8 @@ void GetDatabasesOp::SendResults() {
if (HasFailed()) {
mResolver(ClampResultCode(ResultCode()));
} else {
std::sort(mDatabaseMetadataArray.begin(), mDatabaseMetadataArray.end(),
[](const auto& a, const auto& b) { return a.name() < b.name(); });
mResolver(mDatabaseMetadataArray);
}