Backed out changeset 633d2aa345a3 (bug 1664514) fro crashtest failures at dom/fetch/tests/crashtests/1664514.html on a CLOSED TREE

This commit is contained in:
Cristina Coroiu
2020-09-14 18:18:10 +03:00
parent 8bd73fe0f2
commit d8b3322576
5 changed files with 3 additions and 15 deletions

View File

@@ -1430,7 +1430,7 @@ FetchDriver::AsyncOnChannelRedirect(nsIChannel* aOldChannel,
nsIAsyncVerifyRedirectCallback* aCallback) {
nsCOMPtr<nsIHttpChannel> oldHttpChannel = do_QueryInterface(aOldChannel);
nsCOMPtr<nsIHttpChannel> newHttpChannel = do_QueryInterface(aNewChannel);
if (oldHttpChannel && newHttpChannel) {
if (newHttpChannel) {
nsAutoCString method;
mRequest->GetMethod(method);