W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: [IndexedDB] blocked event could be an error

From: João Eiras <joaoe@opera.com>
Date: Thu, 26 Jul 2012 23:28:26 +0100
To: public-webapps@w3.org
Message-ID: <op.wh2rdowu2q99of@coruscant>

> 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.
Received on Thursday, 26 July 2012 22:28:59 UTC

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