+ void registerRequest(IDBRequest&);
+ // It's ok to call unregisterRequest(*this) inside
+ // IDBRequest::dispose(). But we must not call unregisterRequest() with
+ // an object different from |this| of IDBRequest::dispose().
+ void unregisterRequest(IDBRequest&);
+ void registerCursor(IDBCursor&);
+ // It's ok to call unregisterCursor(*this) inside IDBCursor::dispose(). But
+ // we must not call unregisterCursor() with an object different from |this|
+ // of IDBCursor::dispose().
+ void unregisterCursor(IDBCursor&);