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

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.

--tobie

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