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: Thu, 26 Aug 2010 10:15:08 +0100
Message-ID: <AANLkTin7LPrUgF0rggngGN7-ubrtueqtQUV8KbErR6f9@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: public-webapps@w3.org
I asked whether LOADING should be 0 rather than 1.  (There is no 0 constant
since we removed INITIAL.)

I also asked " 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."

On Thu, Aug 26, 2010 at 2:46 AM, Jonas Sicking <jonas@sicking.cc> wrote:

> 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 09:15:59 GMT

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