Merge remote-tracking branch 'origin/master' into media-works

This commit is contained in:
2022-03-30 14:29:03 +08:00
290 changed files with 17449 additions and 15060 deletions
+3
View File
@@ -5086,6 +5086,7 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI* aURI,
case NS_ERROR_INTERCEPTED_ERROR_RESPONSE:
case NS_ERROR_INTERCEPTED_USED_RESPONSE:
case NS_ERROR_CLIENT_REQUEST_OPAQUE_INTERCEPTION:
case NS_ERROR_BAD_OPAQUE_REDIRECT_INTERCEPTION:
// ServiceWorker intercepted request, but something went wrong.
nsContentUtils::MaybeReportInterceptionErrorToConsole(GetDocument(),
aError);
@@ -10774,6 +10775,8 @@ nsDocShell::DoURILoad(nsIURI* aURI,
} else {
httpChannelInternal->SetDocumentURI(aReferrerURI);
}
httpChannelInternal->SetRedirectMode(
nsIHttpChannelInternal::REDIRECT_MODE_MANUAL);
}
nsCOMPtr<nsIWritablePropertyBag2> props(do_QueryInterface(channel));