mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
dd4db4a4b5
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 |
||
---|---|---|
.. | ||
base | ||
docs | ||
exthandler | ||
prefetch | ||
moz.build |