Title: [234766] trunk/Source/WebCore
- Revision
- 234766
- Author
- [email protected]
- Date
- 2018-08-10 12:05:45 -0700 (Fri, 10 Aug 2018)
Log Message
CrashTracer: com.apple.WebKit.Storage at WebCore::IDBServer::UniqueIDBDatabase::scheduleShutdownForClose
https://bugs.webkit.org/show_bug.cgi?id=188461
<rdar://problem/33555052>
Reviewed by Chris Dumez.
When we try to schedule shutdown for database, we should cancel the timer so no
scheduleShutdownForClose will be running after this.
* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::scheduleShutdownForClose):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (234765 => 234766)
--- trunk/Source/WebCore/ChangeLog 2018-08-10 18:56:39 UTC (rev 234765)
+++ trunk/Source/WebCore/ChangeLog 2018-08-10 19:05:45 UTC (rev 234766)
@@ -1,3 +1,17 @@
+2018-08-10 Sihui Liu <[email protected]>
+
+ CrashTracer: com.apple.WebKit.Storage at WebCore::IDBServer::UniqueIDBDatabase::scheduleShutdownForClose
+ https://bugs.webkit.org/show_bug.cgi?id=188461
+ <rdar://problem/33555052>
+
+ Reviewed by Chris Dumez.
+
+ When we try to schedule shutdown for database, we should cancel the timer so no
+ scheduleShutdownForClose will be running after this.
+
+ * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
+ (WebCore::IDBServer::UniqueIDBDatabase::scheduleShutdownForClose):
+
2018-08-10 Daniel Bates <[email protected]>
Once <object> is hidden, its content won't be displayed again if its URL has fragment identifier ("#").
Modified: trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp (234765 => 234766)
--- trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp 2018-08-10 18:56:39 UTC (rev 234765)
+++ trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp 2018-08-10 19:05:45 UTC (rev 234766)
@@ -273,6 +273,8 @@
{
ASSERT(isMainThread());
+ m_operationAndTransactionTimer.stop();
+
RELEASE_ASSERT(!m_owningPointerForClose);
m_owningPointerForClose = m_server.closeAndTakeUniqueIDBDatabase(*this);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes