W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [IndexedDB] Reason for aborting transactions

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 28 Jan 2011 16:31:13 -0800
Message-ID: <AANLkTi=Q7oeNKZt-ghkxL90WanY+B=PDZVETq_r_gdda@mail.gmail.com>
To: Jeremy Orlow <jorlow@chromium.org>
Cc: public-webapps WG <public-webapps@w3.org>
On Fri, Jan 28, 2011 at 2:35 PM, Jeremy Orlow <jorlow@chromium.org> wrote:
> Given that transactions can be aborted because of explicit action, internal
> errors, quota errors, and possibly other things in the future, I'm wondering
> if we should add some way for people to find out why the transaction was
> aborted.
> Thoughts?

Hmm.. not a bad idea. We also abort transactions if the user leaves
the current page in the middle of a transaction. Don't remember if the
spec requires this or not, but it might make sense to do so.

/ Jonas
Received on Saturday, 29 January 2011 00:32:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT