Title: [196455] trunk/Source/WebCore
Revision
196455
Author
achristen...@apple.com
Date
2016-02-11 16:17:18 -0800 (Thu, 11 Feb 2016)

Log Message

Assert that IDBTransaction::transitionedToFinishing transitions to finishing.
https://bugs.webkit.org/show_bug.cgi?id=154061

* Modules/indexeddb/client/IDBTransactionImpl.cpp:
(WebCore::IDBClient::IDBTransaction::transitionedToFinishing):
Added assertion that we are transitioning to a finished or finishing state, based on Darin's feedback.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (196454 => 196455)


--- trunk/Source/WebCore/ChangeLog	2016-02-12 00:02:29 UTC (rev 196454)
+++ trunk/Source/WebCore/ChangeLog	2016-02-12 00:17:18 UTC (rev 196455)
@@ -1,3 +1,12 @@
+2016-02-11  Alex Christensen  <achristen...@webkit.org>
+
+        Assert that IDBTransaction::transitionedToFinishing transitions to finishing.
+        https://bugs.webkit.org/show_bug.cgi?id=154061
+
+        * Modules/indexeddb/client/IDBTransactionImpl.cpp:
+        (WebCore::IDBClient::IDBTransaction::transitionedToFinishing):
+        Added assertion that we are transitioning to a finished or finishing state, based on Darin's feedback.
+
 2016-02-11  Enrica Casucci  <enr...@apple.com>
 
         WebContent process crashes when performing data detection on content with existing data detector links.

Modified: trunk/Source/WebCore/Modules/indexeddb/client/IDBTransactionImpl.cpp (196454 => 196455)


--- trunk/Source/WebCore/Modules/indexeddb/client/IDBTransactionImpl.cpp	2016-02-12 00:02:29 UTC (rev 196454)
+++ trunk/Source/WebCore/Modules/indexeddb/client/IDBTransactionImpl.cpp	2016-02-12 00:17:18 UTC (rev 196455)
@@ -181,6 +181,7 @@
 {
     ASSERT(!isFinishedOrFinishing());
     m_state = state;
+    ASSERT(isFinishedOrFinishing());
     m_referencedObjectStores.clear();
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to