W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [IndexedDB] setVersion blocked on uncollected garbage IDBDatabases

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 8 Feb 2011 02:52:42 -0800
Message-ID: <AANLkTin=GRe5mEw=yFvPh8RbmOz3WMZgxLr9GsokQFJg@mail.gmail.com>
To: Joćo Eiras <joao.eiras@gmail.com>
Cc: public-webapps <public-webapps@w3.org>
On Tue, Feb 8, 2011 at 2:45 AM, Joćo Eiras <joao.eiras@gmail.com> wrote:
>> The only solution I can think of is to require (or recommend) that
>> implementations run the garbage collector in a context after firing
>> the "versionchange" event if the database still isn't closed. This
>> should be a rare occurrence simply because setVersion should be rare.
>
> That would be a hack in the implementation and a hack in the spec.

Why? And what are you suggesting instead? The above email is very hard
to act on.

/ Jonas
Received on Tuesday, 8 February 2011 10:53:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT