Modern IDB: storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange.html...
[WebKit-https.git] / Source / WebCore / Modules / indexeddb / client / IDBDatabaseImpl.h
index 241a26e6733599c634aa23092550e56f71c1f7a9..f08b1af20193acb9b087ccfc6f403b5369ae2baf 100644 (file)
@@ -87,6 +87,8 @@ public:
     void didCreateIndexInfo(const IDBIndexInfo&);
     void didDeleteIndexInfo(const IDBIndexInfo&);
 
+    bool isClosingOrClosed() const { return m_closePending || m_closedInServer; }
+
 private:
     IDBDatabase(ScriptExecutionContext&, IDBConnectionToServer&, const IDBResultData&);