Re: Web Alarm API - idiomatic check

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:

> 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:

Completely agree. Magical errors should be avoided. 

Marcos Caceres

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