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

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 UTC