зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1077078: Don't spam stderr when failing to create a channel. r=mcmanus
This commit is contained in:
Родитель
318b30af30
Коммит
0b4ad00bae
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче