W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: [Bug 10430] New: [IndexedDB] We need to make it more clear IDBRequests can be reused and spec readyState's behavior

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 4 Nov 2010 12:35:06 +0100
Message-ID: <AANLkTik2gLsd+oh7CqL=OVGU0qosJ6NpPn1KbyYFtDBH@mail.gmail.com>
To: Shawn Wilsher <sdwilsh@mozilla.com>
Cc: Jeremy Orlow <jorlow@chromium.org>, public-webapps@w3.org
On Mon, Nov 1, 2010 at 3:17 PM, Shawn Wilsher <sdwilsh@mozilla.com> wrote:
> On 11/1/2010 5:29 AM, Jeremy Orlow wrote:
>>
>>  If not, I think we should avoid adding surface area for something we
>> don't
>> really understand very well.
>
> I agree with this.  Less is better at this point I think (when appropriate,
> of course).

Of course, the question is where it's appropriate.

The reason I prefer to keep readyState is that I've seen things move
that way elsewhere. We've recently added it to Document,
HTMLMediaElement, EventSource and WebSocket.

I do agree that as long as the result isn't on IDBRequest then it
doesn't make much sense since if you get a reference to a IDBRequest
with readyState=DONE you can't get to the result anyway.

/ Jonas
Received on Thursday, 4 November 2010 11:35:59 GMT

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