gecko-dev/uriloader
Jean-Yves Avenard dd4db4a4b5 Bug 1598497 - P2. Have the canceled attribute only if explicitly canceled. r=mayhemer.
Previously, GetCancelled() would have return true should the channel's status was an error.
Doing Cancel(NS_OK) for example, would have made a follow-up call to GetCancelled() return false. However, we can assert that such a call would have been a bug.

Following this change GetCancelled() will only return true if Cancel() was explicitly called.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 05:20:07 +00:00
..
base Bug 1574372 - Add support to nsDocumentOpenInfo for overriding some functionality that we want to modify in the parent. r=bzbarsky 2019-12-17 03:02:15 +00:00
docs Bug 1599277 - fix docs paths for uriloader/exthandler, r=ahal 2019-11-26 15:02:00 +00:00
exthandler Bug 1598497 - P2. Have the canceled attribute only if explicitly canceled. r=mayhemer. 2019-12-19 05:20:07 +00:00
prefetch Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
moz.build Bug 1595601: Add documentation for the external handler service. r=Gijs 2019-11-12 19:45:26 +00:00