Re: [IndexedDB] setVersion blocked on uncollected garbage IDBDatabases

I talked it over with Darin (Fisher), and he largely agreed with you guys.
 I'll file a bug saying that after unload, all IDBDatabases attached to that
document should be closed.

J

On Tue, Feb 8, 2011 at 11:51 AM, ben turner <bent.mozilla@gmail.com> wrote:

> I'm actually fine with keeping the setVersion from proceeding until
> the old database is collected. First, this is probably a bug in the
> web page, and the page should be fixed. Second, the new database that
> is waiting for setVersion to proceed will get an onblocked event, so
> the page should know that something is wrong.
>
> I really don't think this is that big of a deal, and certainly not
> worth changing the opt-in vs. opt-out behavior that we've settled on.
>
> -Ben
>

Received on Tuesday, 8 February 2011 21:02:11 UTC