Re: [IndexedDB] blocked event should have default operation to close the connection

To do this in a backwards compatible way, we could add an option on open()
that, if an upgrade is required, any other connections are forcibly closed;
instead of a "versionchange" event the connections would be sent a "close"
event, similar to the case in [1]

Open question about whether the close waits on in-flight transactions or if
they are aborted.


On Wed, Oct 9, 2013 at 8:40 AM, Joćo Eiras <> wrote:

> On Wed, 09 Oct 2013 17:06:13 +0200, Kyaw Tun <> wrote:
>  My suggestion is to make close method as default operation of blocked
>> event. For that app, that require to save data should listen blocked event
>> and invoke preventDefault() and finally close the connection.
> Hi.
> This was already discussed in length here
> 2012JulSep/0215.html<>
> TL,DR: the status quo of the implementations (still experimental in 2012)
> dictated that the behavior is to be preserved.
> Bye.

Received on Wednesday, 9 October 2013 19:11:22 UTC