Changeset 259603 in webkit
- Timestamp:
- Apr 6, 2020, 4:05:21 PM (6 years ago)
- Location:
- branches/safari-609-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Modules/indexeddb/server/SQLiteIDBBackingStore.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/Source/WebCore/ChangeLog
r259601 r259603 1 2020-04-06 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r259519. rdar://problem/61352446 4 5 ASSERTION FAILED: objectStoreInfo in SQLiteIDBBackingStore::getRecord 6 https://bugs.webkit.org/show_bug.cgi?id=209976 7 <rdar://problem/55005363> 8 9 Reviewed by Geoffrey Garen. 10 11 Return error if objectStoreInfo is null in SQLiteIDBBackingStore::getRecord, because there is a possibility 12 SQLiteIDBBackingStore does not have requested objectStoreInfo. 13 14 * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: 15 (WebCore::IDBServer::SQLiteIDBBackingStore::getRecord): 16 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259519 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2020-04-03 Sihui Liu <sihui_liu@apple.com> 21 22 ASSERTION FAILED: objectStoreInfo in SQLiteIDBBackingStore::getRecord 23 https://bugs.webkit.org/show_bug.cgi?id=209976 24 <rdar://problem/55005363> 25 26 Reviewed by Geoffrey Garen. 27 28 Return error if objectStoreInfo is null in SQLiteIDBBackingStore::getRecord, because there is a possibility 29 SQLiteIDBBackingStore does not have requested objectStoreInfo. 30 31 * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: 32 (WebCore::IDBServer::SQLiteIDBBackingStore::getRecord): 33 1 34 2020-04-06 Alan Coon <alancoon@apple.com> 2 35 -
branches/safari-609-branch/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
r253377 r259603 1886 1886 return IDBError { UnknownError, "Attempt to get a record from database without an in-progress transaction"_s }; 1887 1887 1888 auto* objectStoreInfo = infoForObjectStore(objectStoreID); 1889 if (!objectStoreInfo) 1890 return IDBError { InvalidStateError, "Object store cannot be found in the backing store"_s }; 1891 1888 1892 auto key = keyRange.lowerKey; 1889 1893 if (key.isNull()) … … 2004 2008 return error; 2005 2009 2006 auto* objectStoreInfo = infoForObjectStore(objectStoreID); 2007 ASSERT(objectStoreInfo); 2008 resultValue = { keyData, { valueResultBuffer, WTFMove(blobURLs), WTFMove(blobFilePaths) }, objectStoreInfo->keyPath()}; 2010 resultValue = { keyData, { valueResultBuffer, WTFMove(blobURLs), WTFMove(blobFilePaths) }, objectStoreInfo->keyPath() }; 2009 2011 return IDBError { }; 2010 2012 }
Note:
See TracChangeset
for help on using the changeset viewer.