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
parent 298e368be6
commit f2143abb88

View File

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