зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1528916: Explicitly set LoadInfo for about:crashcontent and about:crashparent. r=gijs
This commit is contained in:
Родитель
e25fbce870
Коммит
643fbfc678
|
@ -150,6 +150,7 @@ nsAboutRedirector::NewChannel(nsIURI* aURI, nsILoadInfo* aLoadInfo,
|
|||
|
||||
if (path.EqualsASCII("crashparent") || path.EqualsASCII("crashcontent")) {
|
||||
nsCOMPtr<nsIChannel> channel = new CrashChannel(aURI);
|
||||
channel->SetLoadInfo(aLoadInfo);
|
||||
channel.forget(aResult);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче