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

Re: [IndexedDB] Reason for aborting transactions

From: ben turner <bent.mozilla@gmail.com>
Date: Wed, 9 Feb 2011 17:17:17 -0800
Message-ID: <AANLkTikOE6FqTR-9WP0ET=F9YGW7G6s5JLx5YHFebEcz@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Jeremy Orlow <jorlow@chromium.org>, Cameron McCormack <cam@mcc.id.au>, public-webapps WG <public-webapps@w3.org>
Hm, Jeremy is right, If you want to look just at the transaction and
see why it aborted you can't rely on errorCode. Ick.

The only thing I'd change then is the abortMessage property. It's
easier to tell why your transaction aborted with the error code, and
I'd hate people doing string comparisons instead of checking the error
code. And what about localization?

Received on Thursday, 10 February 2011 01:18:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:16 UTC