mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
c63570cb58
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 |
||
---|---|---|
.. | ||
crashtests | ||
test | ||
moz.build | ||
nsJSProtocolHandler.cpp | ||
nsJSProtocolHandler.h |