mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1528916: Explicitly set LoadInfo for about:crashcontent and about:crashparent. r=gijs
This commit is contained in:
parent
e25fbce870
commit
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user