Bug 1528916: Explicitly set LoadInfo for about:crashcontent and about:crashparent. r=gijs

This commit is contained in:
Christoph Kerschbaumer 2019-02-19 10:26:54 +01:00
Родитель e25fbce870
Коммит 643fbfc678
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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;
}