Bug
1883626 - Avoid race between HttpChannelParent::Delete and HttpChannelParent::SendRedirectFailed r=necko-reviewers,kershaw
When HttpChannelParent::OnRedirectResult is called with an error code,
CompleteRedirect would end up calling SendRedirectFailed, then soon after
we'd call redirectChannel->Delete()
RecvRedirectFailed() then calls mRedirectChannelChild->Cancel() which races
against the Delete called by the main proces.
Differential Revision: https://phabricator.services.mozilla.com/
D203601