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

[IndexedDB] success/error events

From: Glenn Maynard <glenn@zewt.org>
Date: Wed, 23 Feb 2011 18:30:36 -0500
Message-ID: <AANLkTimsaUnf1m4Z6DaBJhs64_p_eZGZh9ooM5TOOwf2@mail.gmail.com>
To: public-webapps@w3.org
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 Wednesday, 23 February 2011 23:31:09 GMT

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