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

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

From: Tobie Langel <tobie.langel@gmail.com>
Date: Wed, 1 Oct 2014 23:52:33 +0200
Message-ID: <CAMK=o4d1p7jTEjb6_NNh5p1nAhhVr0HkrHVraC92pymRamjsMQ@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@lists.whatwg.org>, Boris Zbarsky <bzbarsky@mit.edu>, David Dorwin <ddorwin@chromium.org>
On Wed, Oct 1, 2014 at 11:43 PM, Anne van Kesteren <annevk@annevk.nl> wrote:

> Given async/await the only reasonable thing to do seems to me
> to model them after functions and only use rejection for something
> exceptional, but with the level of disagreement this has created in
> several different standards group thus far, I'm not hopeful initial
> promise APIs will be consistent in this.

If that's not work for the TAG, then I don't know what their purpose is.
Seriously, there needs to be agreement and consistency here, and unless
there a design guidelines adopted across the board, this is just going to
suck for Web developers.

Received on Wednesday, 1 October 2014 21:52:58 UTC

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