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 13:32:19 -0700
Message-ID: <BANLkTikw8Vds2YCOS2VwJt8vBMbPV2Xzkg@mail.gmail.com>
To: Israel Hilerio <israelh@microsoft.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
On Tue, Apr 26, 2011 at 12:00 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> 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
> spec.

"should be" as in "should already be". Feel free to clarify in the
spec if there's anything you think is unclear.

/ Jonas
Received on Tuesday, 26 April 2011 20:33:26 GMT

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