Title: [235698] branches/safari-606-branch/Source/WebCore
Revision
235698
Author
[email protected]
Date
2018-09-05 14:52:23 -0700 (Wed, 05 Sep 2018)

Log Message

Cherry-pick r234766. rdar://problem/44144088

    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):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-606-branch/Source/WebCore/ChangeLog (235697 => 235698)


--- branches/safari-606-branch/Source/WebCore/ChangeLog	2018-09-05 21:52:21 UTC (rev 235697)
+++ branches/safari-606-branch/Source/WebCore/ChangeLog	2018-09-05 21:52:23 UTC (rev 235698)
@@ -1,5 +1,38 @@
 2018-09-05  Babak Shafiei  <[email protected]>
 
+        Cherry-pick r234766. rdar://problem/44144088
+
+    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):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-09-05  Babak Shafiei  <[email protected]>
+
         Cherry-pick r234718. rdar://problem/44144071
 
     REGRESSION (r228260): Events handled by input method invoke default event handler

Modified: branches/safari-606-branch/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp (235697 => 235698)


--- branches/safari-606-branch/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp	2018-09-05 21:52:21 UTC (rev 235697)
+++ branches/safari-606-branch/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp	2018-09-05 21:52:23 UTC (rev 235698)
@@ -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

Reply via email to