W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 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: Wed, 25 Aug 2010 18:46:32 -0700
Message-ID: <AANLkTine87HZ5H30-56911D=dXuTgo-ssSJvQQVxrJuw@mail.gmail.com>
To: Jeremy Orlow <jorlow@chromium.org>
Cc: public-webapps@w3.org
On Wed, Aug 25, 2010 at 3:42 PM, Jeremy Orlow <jorlow@chromium.org> wrote:
> On Wed, Aug 25, 2010 at 9:29 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> On Wed, Aug 25, 2010 at 8:12 AM, Jeremy Orlow <jorlow@chromium.org> wrote:
>> > Also, the constants for the ready state should start with 0, not 1.
>> > Also, what happens if someone does the following:
>> > request = objectStore.openCursor();
>> > request.onsuccess(function() {
>> >     event.result.continue();
>> >     request.abort();
>> >     event.result.continue();
>> > }
>> > Also, is it possible to get the IDBRequest object from within the
>> > openCursor/continue events without saving it off somewhere?  If not, it
>> > probably should be.
>>
>> Didn't we decide to remove IDBRequest.abort()?
>
> Oh yeah...we did.  :-)
> Will file a bug.
> What about the other questions?

Yes, I think we should make it clear that readyState can go from DONE
to LOADING.

All other questions seemed related to abort()?

/ Jonas
Received on Thursday, 26 August 2010 01:47:25 GMT

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