Changeset 259519 in webkit
- Timestamp:
- Apr 3, 2020 3:55:59 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r259518 r259519 1 2020-04-03 Sihui Liu <sihui_liu@apple.com> 2 3 ASSERTION FAILED: objectStoreInfo in SQLiteIDBBackingStore::getRecord 4 https://bugs.webkit.org/show_bug.cgi?id=209976 5 <rdar://problem/55005363> 6 7 Reviewed by Geoffrey Garen. 8 9 Return error if objectStoreInfo is null in SQLiteIDBBackingStore::getRecord, because there is a possibility 10 SQLiteIDBBackingStore does not have requested objectStoreInfo. 11 12 * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: 13 (WebCore::IDBServer::SQLiteIDBBackingStore::getRecord): 14 1 15 2020-04-03 Wenson Hsieh <wenson_hsieh@apple.com> 2 16 -
trunk/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
r257361 r259519 2061 2061 return IDBError { UnknownError, "Attempt to get a record from database without an in-progress transaction"_s }; 2062 2062 2063 auto* objectStoreInfo = infoForObjectStore(objectStoreID); 2064 if (!objectStoreInfo) 2065 return IDBError { InvalidStateError, "Object store cannot be found in the backing store"_s }; 2066 2063 2067 auto key = keyRange.lowerKey; 2064 2068 if (key.isNull()) … … 2179 2183 return error; 2180 2184 2181 auto* objectStoreInfo = infoForObjectStore(objectStoreID); 2182 ASSERT(objectStoreInfo); 2183 resultValue = { keyData, { valueResultBuffer, WTFMove(blobURLs), WTFMove(blobFilePaths) }, objectStoreInfo->keyPath()}; 2185 resultValue = { keyData, { valueResultBuffer, WTFMove(blobURLs), WTFMove(blobFilePaths) }, objectStoreInfo->keyPath() }; 2184 2186 return IDBError { }; 2185 2187 }
Note: See TracChangeset
for help on using the changeset viewer.