Bug 1077078: Don't spam stderr when failing to create a channel. r=mcmanus

This commit is contained in:
Dave Townsend 2014-10-03 09:59:10 -07:00
Родитель 318b30af30
Коммит 0b4ad00bae
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -595,7 +595,8 @@ nsIOService::NewChannelFromURIWithProxyFlags(nsIURI *aURI,
rv = pph->NewProxiedChannel(aURI, nullptr, aProxyFlags, aProxyURI, result);
else
rv = handler->NewChannel(aURI, result);
NS_ENSURE_SUCCESS(rv, rv);
if (NS_FAILED(rv))
return rv;
// Some extensions override the http protocol handler and provide their own
// implementation. The channels returned from that implementation doesn't