Re: [Navigation Error Logging] Use promises instead of callbacks?

+1

Any async success (and optionally, failure) API should use promises.


On Tue, Feb 11, 2014 at 6:40 AM, Arvind Jain <arvind@google.com> wrote:

> Does anyone else have an opinion? Should I go ahead and change
> getNavigationErrors to return a promise?
>
> https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationErrorLogging/Overview.html
>
>
> On Tue, Feb 4, 2014 at 2:35 PM, ttuttle <ttuttle@chromium.org> wrote:
>
>> Hi,
>>
>> At Domenic Denicola's suggestion, can we have getNavigationErrors
>> return a promise instead of a callback?  It should fail if the site
>> has never registered for error logging.
>>
>> Thanks,
>>
>> ttuttle
>>
>
>

Received on Tuesday, 11 February 2014 10:25:09 UTC