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

Re: [IndexedDB] Current editor's draft

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Wed, 07 Jul 2010 18:17:42 -0700
Message-ID: <4C352736.1090004@mozilla.com>
To: Jonas Sicking <jonas@sicking.cc>
CC: Nikunj Mehta <nikunj@o-micron.com>, public-webapps <public-webapps@w3.org>
  On 7/7/2010 12:27 AM, Jonas Sicking wrote:
> This interface allows asynchronously requesting more objectStores to
> be locked. The author must take care whenever calling openObjectStores
> that the request might fail due to deadlocks.
>
> But as previously stated, I think this adds too much complexity and
> too much racyness to the API. And so I'd prefer to not add this.
I feel like we should not be creating an API that allows for deadlocks 
to happen.  Especially with an API that allows for races to happen 
(which we have) such that it will be hard for web developers to test to 
ensure they do not have deadlocks.

Cheers,

Shawn



Received on Thursday, 8 July 2010 01:18:03 GMT

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