[webkit-reviews] review requested: [Bug 25788] Reloading a page while a database transaction is in progress leaves the database locked. : [Attachment 30343] Proposed fix.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 14 09:27:11 PDT 2009


Ben Murdoch <benm at google.com> has asked  for review:
Bug 25788: Reloading a page while a database transaction is in progress leaves
the database locked.
https://bugs.webkit.org/show_bug.cgi?id=25788

Attachment 30343: Proposed fix.
https://bugs.webkit.org/attachment.cgi?id=30343&action=review

------- Additional Comments from Ben Murdoch <benm at google.com>
This patch fixes the bug by setting a busy handler for database transactions
and running the error steps synchronously should the database the transaction
was running on be stopped whilst it is running. The busy handler is needed to
make transactions on the new page wait for the old transaction to complete and
roll back before running.


More information about the webkit-reviews mailing list