W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [IndexedDB] success/error events

From: Jeremy Orlow <jorlow@chromium.org>
Date: Wed, 23 Feb 2011 18:04:12 -0800
Message-ID: <AANLkTik9vudDqRqjy7hWNx+jqdnRQsK=3cvdK94TUSQM@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.org>, Jonas Sicking <jonas@sicking.cc>
Cc: public-webapps@w3.org
Jonas: any idea?  I assume this is just a typo?

On Wed, Feb 23, 2011 at 3:30 PM, Glenn Maynard <glenn@zewt.org> wrote:

> Just wanted to ping this question: why does IDB 3.2.2 fire success and
> error events "at each Window object", rather than at the IDBRequest
> itself?
>
> (It would make sense for error events on an IDBRequest that aren't
> cancelled to be re-fired at the Window--or rather, the
> IDBEnvironment--for global error trapping, but it seems like they're
> not fired at the IDBRequest at all.)
>
>
> On Wed, Feb 9, 2011 at 11:21 PM, Glenn Maynard <glenn@zewt.org> wrote:
> > I was looking over the spec on success and error events some more while
> > considering this, and I'm deeply confused: 3.2.2 describes the success
> and
> > error events being fired at the Window ("at each Window object") rather
> then
> > at the request, which seems bizarre.  I feel like this is an embarrassing
> > spec-novice question, but could someone clue me in on what's happening
> here?
>
> --
> Glenn Maynard
>
>
Received on Thursday, 24 February 2011 02:05:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:16 UTC