mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
Merge remote-tracking branch 'origin/master' into media-works
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user