gecko-dev/netwerk/streamconv
Jean-Yves Avenard b1be794e1b Bug 1598497 - P1. move canceled attribute to nsIChannel. r=mayhemer
There is no functional change with this commit. The default implementation for GetCanceled() is still to check if the status code is a failure.

However, it can be argued that as you had to call Cancel() on the nsIChannel, having to check the nsIHttpChannelInternal interface to determine if you had been canceled in the past was rather a non obvious path.

It makes more sense to check the nsIChannel interface to determine if it's been canceled already and this allows for finer granularity if needed in the future.

Differential Revision: https://phabricator.services.mozilla.com/D55268

--HG--
extra : moz-landing-system : lando
2019-12-18 21:13:26 +00:00
..
converters Bug 1598497 - P1. move canceled attribute to nsIChannel. r=mayhemer 2019-12-18 21:13:26 +00:00
moz.build
mozITXTToHTMLConv.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIDirIndex.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIDirIndexListener.idl
nsIStreamConverter.idl Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky 2019-12-17 03:02:02 +00:00
nsIStreamConverterService.idl Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky 2019-12-17 03:02:02 +00:00
nsITXTToHTMLConv.idl
nsStreamConverterService.cpp Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky 2019-12-17 03:02:02 +00:00
nsStreamConverterService.h