Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - modules/ changes (r=mwu)

This commit is contained in:
Christoph Kerschbaumer 2014-12-12 09:07:23 -08:00
Родитель b3d1653ff6
Коммит 1e54ee4250
1 изменённых файлов: 7 добавлений и 0 удалений

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

@ -223,6 +223,13 @@ nsJARProtocolHandler::NewChannel2(nsIURI* uri,
return rv;
}
// set the loadInfo on the new channel
rv = chan->SetLoadInfo(aLoadInfo);
if (NS_FAILED(rv)) {
NS_RELEASE(chan);
return rv;
}
*result = chan;
return NS_OK;
}