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: Jeremy Orlow <jorlow@chromium.org>
Date: Wed, 25 Aug 2010 23:42:28 +0100
Message-ID: <AANLkTimyiq61DPR+LVG6VWbrWMbnezRKu=bSdyKAPbeH@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: public-webapps@w3.org
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?
Received on Wednesday, 25 August 2010 22:43:17 GMT

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