W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2014

Re: [whatwg] Notifications: making requestPermission() return a promise

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 8 Oct 2014 18:16:02 +0200
Message-ID: <CADnb78gkNyfx1xtRSHj1Wa47oko83oR1YYygwSkyn133TKkrLA@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Andrew Wilson <atwilson@google.com>, WHATWG List <whatwg@whatwg.org>, Jake Archibald <jaffathecake@gmail.com>, Peter Beverloo <beverloo@google.com>, Jonas Sicking <jonas@sicking.cc>
On Wed, Oct 8, 2014 at 6:07 PM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> What I find interesting here is the claim that people find try/catch annoying or distasteful.

I don't think you should need try/catch for a common failure case.
That is all. So yes, agreed with Tobie et al.


-- 
https://annevankesteren.nl/
Received on Wednesday, 8 October 2014 16:16:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:24 UTC