Re: [Bug 11348] New: [IndexedDB] Overhaul of the event model

On Sat, Feb 19, 2011 at 8:46 PM, Jonas Sicking <> wrote:

> On Fri, Feb 18, 2011 at 5:58 PM, Jeremy Orlow <> wrote:
> > If an exception is unhanded in an IDB event handler, we abort the
> > transaction.  Should we continue firing the other handlers when this
> > happens, though?
> What do you mean by "other handlers"? The other handlers for that same
> event? If so, I would say we should so that we're sticking with the
> DOM Events spec.
> > And should preventDefault prevent the abort?
> preventDefault usually prevents the default action of the event. The
> abort isn't the default action, so I would say no. (It also seems a
> bit weird that calling preventDefault on a success event would prevent
> an abort).

So if any of the event handlers doesn't catch an exception, there's no way
to keep the transaction from aborting?


Received on Tuesday, 22 February 2011 22:49:37 UTC