Re: [IndexedDB] blocked event could be an error

On Thu, Jul 26, 2012 at 3:28 PM, Joćo Eiras <joaoe@opera.com> wrote:
>
>> I definitely think that we need to keep the "blocked" events as
>> non-error events since it supports the use case of opening a
>> connection and displaying UI to the user asking that other tabs are
>> closed if the "blocked" event fires.
>>
>
> That can very well be achieved by detecting the BlockedError, and adding a
> retry button which calls open() again.
>
> If you really want a open() and wait forever behavior, that should not be
> the default one.

I'm not at all comfortable with changing the default behavior this
late in the process.

/ Jonas

Received on Thursday, 26 July 2012 22:32:05 UTC