[Webkit-unassigned] [Bug 70041] New: IndexedDB: Transactions fail to abort if all requests throw exceptions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 13 12:10:27 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70041
Summary: IndexedDB: Transactions fail to abort if all requests
throw exceptions
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jsbell at chromium.org
CC: hans at chromium.org, dgrogan at chromium.org
Repro:
* Start a transaction
* Make a request against the transaction that raises an exception (e.g. a put() with an invalid key)
* Make no other requests against the transaction, let it execute
Expected:
* Transaction fires abort event
Actual:
* Transaction never fires abort, error or complete events
Initial investigation:
This appears to be caused by the path taken when requests are created but aborted early due to exceptions - a request is created, registered with the transaction, then marked for "early death". But the markEarlyDeath() method does not unregister it from the transaction; that doesn't happen until the request's destructor is called. Perhaps it should be unregistered immediately? Further investigation is needed, and we should understand why the transaction never completes.
--
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