[Webkit-unassigned] [Bug 46883] IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 03:32:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46883


Jeremy Orlow <jorlow at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69321|1                           |0
        is obsolete|                            |




--- Comment #4 from Jeremy Orlow <jorlow at chromium.org>  2010-09-30 03:32:57 PST ---
(From update of attachment 69321)
View in context: https://bugs.webkit.org/attachment.cgi?id=69321&action=review

> WebCore/storage/IDBDatabase.cpp:68
> +    m_backend->removeObjectStore(name);

this needs the transaction

> WebCore/storage/IDBDatabaseBackendImpl.cpp:172
> +void IDBDatabaseBackendImpl::removeObjectStore(const String& name)

need the transaction passed in

> WebCore/storage/IDBObjectStoreBackendImpl.cpp:92
> +    , m_id(0),

maybe make an invalid id constant?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list