[whatwg] Web Notification: API inconsistency
Boris Zbarsky
bzbarsky at MIT.EDU
Fri Aug 23 10:09:30 PDT 2013
On 8/23/13 12:33 PM, Tab Atkins Jr. wrote:
> If a function currently takes a callback argument and returns void,
> it's trivial to upgrade it to instead make the callback optional and
> return a promise when it's not passed.
And null if a callback is passed?
If we want to continue returning void when a callback is passed, we need
to add some webidl magic for that...
-Boris
More information about the whatwg
mailing list