W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: [IndexedDB] Discrepancies with the Event type of error in section 4.12

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 26 Apr 2011 12:00:28 -0700
Message-ID: <BANLkTi=c1Ethfs8XVrF+DRKAKYon5w2ruQ@mail.gmail.com>
To: Israel Hilerio <israelh@microsoft.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
On Mon, Apr 25, 2011 at 9:18 AM, Israel Hilerio <israelh@microsoft.com> wrote:
> The same question applies to bubbling.  What is the intent of bubbling an error?  For example, if a developer tries to add an object to an objectStore and he fails, where should the event bubble to: the transaction, the database, etc.?  The bubbling hierarchy doesn't seem to be clearly defined.  It would be great to clarify the scenarios here.

Sorry, forgot to reply to this part.

creating object stores never fails asynchronously, so no "error"
events are ever dispatched for that action. This should be defined in

/ Jonas
Received on Tuesday, 26 April 2011 19:01:25 UTC

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