Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c3cb68d16a4d4d35f17c2d46f784f8675bb141f1
https://github.com/WebKit/WebKit/commit/c3cb68d16a4d4d35f17c2d46f784f8675bb141f1
Author: Sihui Liu <[email protected]>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBFileName.mm
Log Message:
-----------
REGRESSION(301753@main): IndexedDB database cannot be opened after name
upgrade
https://bugs.webkit.org/show_bug.cgi?id=301327
rdar://163219457
Reviewed by Per Arne Vollan.
The current implementation does not correctly upgrade database name in database
due to a wrong condition check --
migrateIDBDatabaseInfoTableIfNecessary already performs database name equality
check at L710, so it should not check
again and skip record update at L725. Otherwise, the database might end up
having mismatched metadata versions and
database name format.
New test: IndexedDB.OpenDatabaseAfterDatabaseNameUpgrade
* Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
(WebCore::IDBServer::migrateIDBDatabaseInfoTableIfNecessary):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBFileName.mm:
(TEST(IndexedDB, OpenDatabaseAfterDatabaseNameUpgrade)):
Canonical link: https://commits.webkit.org/302055@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications