W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Web Alarm API - idiomatic check

From: Marcos Caceres <w3c@marcosc.com>
Date: Thu, 9 May 2013 21:29:54 +0100
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: public-script-coord <public-script-coord@w3.org>, Christophe Dumez - SISA <ch.dumez@partner.samsung.com>
Message-ID: <2FA610509D18462988C75BD0FFDE3BB1@marcosc.com>


On Wednesday, May 8, 2013 at 7:10 PM, Domenic Denicola wrote:

> The futures usage looks reasonable, but there still seems to be a lot of event-handler cruft left over? Especially in the opening example?

Yeah, sorry about that. The API used to use something called a DOMRequest (which is similar to the request objects found in IDB). We've since ditched them but forgot to update the examples! :( Filed a bug:

https://github.com/sysapps/web-alarms/issues/36

> One thing that confused me is the repeated "If an error occurs" verbiage. How could an error occur? The phrase "error" only occurred in the document inside those phrases, so I'm not sure what's going on there.
Have a bug for that one too: 
https://github.com/sysapps/web-alarms/issues/28

Completely agree. Magical errors should be avoided. 

-- 
Marcos Caceres
Received on Thursday, 9 May 2013 20:30:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC