Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 35ff6895373602491e7b649e8f15d40e92da387b https://github.com/WebKit/WebKit/commit/35ff6895373602491e7b649e8f15d40e92da387b Author: Sihui Liu <sihui_...@apple.com> Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths: M Source/WebCore/Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp M Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h Log Message: ----------- REGRESSION(259215@main): [ BigSur+ Debug ] storage/indexeddb/modern/deleteindex-4-private.html is a constant crash https://bugs.webkit.org/show_bug.cgi?id=251051 rdar://104579643 Reviewed by Chris Dumez. We should not restore indexes of object stores that do not exist after transaction abort, so this patch remove indexes of non-existent objects stores (object store created in the transaction) from m_deletedIndexes. * Source/WebCore/Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp: (WebCore::IDBServer::MemoryBackingStoreTransaction::indexDeleted): (WebCore::IDBServer::MemoryBackingStoreTransaction::objectStoreDeleted): (WebCore::IDBServer::MemoryBackingStoreTransaction::abort): * Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h: Canonical link: https://commits.webkit.org/259360@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes