Title: [239872] trunk/Source/WebCore
- Revision
- 239872
- Author
- [email protected]
- Date
- 2019-01-11 13:57:46 -0800 (Fri, 11 Jan 2019)
Log Message
Fix an assertion in UniqueIDBDatabase
https://bugs.webkit.org/show_bug.cgi?id=193096
Reviewed by Brady Eidson.
m_objectStoreTransactionCounts.count(objectStore) == 1 in UniqueIDBDatabase::operationAndTransactionTimerFired()
is not necessarily true because m_objectStoreTransactionCounts may be cleared in immediateCloseForUserDelete.
* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::operationAndTransactionTimerFired):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (239871 => 239872)
--- trunk/Source/WebCore/ChangeLog 2019-01-11 21:04:09 UTC (rev 239871)
+++ trunk/Source/WebCore/ChangeLog 2019-01-11 21:57:46 UTC (rev 239872)
@@ -1,3 +1,16 @@
+2019-01-11 Sihui Liu <[email protected]>
+
+ Fix an assertion in UniqueIDBDatabase
+ https://bugs.webkit.org/show_bug.cgi?id=193096
+
+ Reviewed by Brady Eidson.
+
+ m_objectStoreTransactionCounts.count(objectStore) == 1 in UniqueIDBDatabase::operationAndTransactionTimerFired()
+ is not necessarily true because m_objectStoreTransactionCounts may be cleared in immediateCloseForUserDelete.
+
+ * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
+ (WebCore::IDBServer::UniqueIDBDatabase::operationAndTransactionTimerFired):
+
2019-01-11 Miguel Gomez <[email protected]>
[GTK] Garbled rendering on Youtube while scrolling under X11.
Modified: trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp (239871 => 239872)
--- trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp 2019-01-11 21:04:09 UTC (rev 239871)
+++ trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp 2019-01-11 21:57:46 UTC (rev 239872)
@@ -1573,7 +1573,7 @@
m_objectStoreTransactionCounts.add(objectStore);
if (!transaction->isReadOnly()) {
m_objectStoreWriteTransactions.add(objectStore);
- ASSERT(m_objectStoreTransactionCounts.count(objectStore) == 1);
+ ASSERT(m_objectStoreTransactionCounts.count(objectStore) == 1 || m_hardClosedForUserDelete);
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes