[webkit-changes] [WebKit/WebKit] 35ff68: REGRESSION(259215 at main): [ BigSur+ Debug ] storage...

Sihui noreply at github.com
Wed Jan 25 09:01:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35ff6895373602491e7b649e8f15d40e92da387b
      https://github.com/WebKit/WebKit/commit/35ff6895373602491e7b649e8f15d40e92da387b
  Author: Sihui Liu <sihui_liu at 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 at 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




More information about the webkit-changes mailing list