Modern IDB: storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange.html...
[WebKit-https.git] / Source / WebCore / Modules / indexeddb / client / IDBTransactionImpl.h
index 7e078ea92fc9e53c67dac739dcc22ac0bf3a8484..5dac553d4b36044ae38ef23b77b01c50b62c74a6 100644 (file)
@@ -127,6 +127,7 @@ public:
     void operationDidComplete(TransactionOperation&);
 
     bool isFinishedOrFinishing() const;
+    bool isFinished() const { return m_state == IndexedDB::TransactionState::Finished; }
 
 private:
     IDBTransaction(IDBDatabase&, const IDBTransactionInfo&, IDBOpenDBRequest*);