[Webkit-unassigned] [Bug 86911] IndexedDB: "ASSERTION FAILED: !m_requestFinished" hit in IDBRequest::dispatchEvent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 14 17:08:31 PDT 2012


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





--- Comment #6 from Joshua Bell <jsbell at chromium.org>  2012-06-14 17:08:31 PST ---
(In reply to comment #5)
> The uncaught exception is causing the transaction to be aborted, which closes the cursor which sets m_requestFinished on the IDBRequest between an event being enqueued and it being dispatched.

Scratch that, not quite correct. Here's what's going on:

* success event fired at the cursor request
* success event dispatched by the cursor request
* script calls continue(), which queues an task in the transaction
* script raises an exception, which aborts the transaction
* transaction aborting closes the cursor
* transaction aborting aborts the queued task, which fires an error event at the cursor request
* cursor request attempt to dispatch the error event, and ASSERTs

-- 
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