W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [IndexedDB] Re: onsuccess callback in race condition?

From: Jeremy Orlow <jorlow@chromium.org>
Date: Thu, 15 Jul 2010 20:18:58 +0100
Message-ID: <AANLkTin9Algq07MWlGP8c90qjieLHJQaLQJYuXATz0Ht@mail.gmail.com>
To: victor.hong@nokia.com
Cc: public-webapps@w3.org
On Thu, Jul 15, 2010 at 8:16 PM, <victor.hong@nokia.com> wrote:

>
>
>
> On 7/15/10 1:13 PM, "ext Jeremy Orlow" <jorlow@chromium.org> wrote:
>
> > On Thu, Jul 15, 2010 at 6:04 PM,  <victor.hong@nokia.com> wrote:
> >>
> >> Hi Jeremy,
> >>
> >> Thank you for responding. If I understand you correctly, the example 1
> could
> >> produce a race condition,
> >
> > I don't see how.  onsuccess is always set immediately after the request
> object
> > is created by the asynchronous call.
> >
> >> and example 2 will not.
> >
> > This example is completely outdated and will not work period.  Please
> take a
> > look at the latest editors draft.  (A lot of the async changes were just
> > committed.)
> >
>
> I was quoting from this draft (July 15 2010)
> http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html
>
> Is it outdated already?
> And where do I go for the latest?
>

The example was fixed a couple hours after your initial message.  :-)
Received on Thursday, 15 July 2010 19:19:48 GMT

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