mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-20 10:33:36 +00:00
remove annoying warnings from IOService, since we support old extensions
This commit is contained in:
parent
b6afdab5d4
commit
2f6fe15d30
@ -859,7 +859,6 @@ nsIOService::NewChannelFromURIWithProxyFlags2(nsIURI* aURI,
|
|||||||
aSecurityFlags,
|
aSecurityFlags,
|
||||||
aContentPolicyType);
|
aContentPolicyType);
|
||||||
}
|
}
|
||||||
NS_ASSERTION(loadInfo, "Please pass security info when creating a channel");
|
|
||||||
return NewChannelFromURIWithProxyFlagsInternal(aURI,
|
return NewChannelFromURIWithProxyFlagsInternal(aURI,
|
||||||
aProxyURI,
|
aProxyURI,
|
||||||
aProxyFlags,
|
aProxyFlags,
|
||||||
@ -933,7 +932,6 @@ nsIOService::NewChannel2(const nsACString& aSpec,
|
|||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsIOService::NewChannel(const nsACString &aSpec, const char *aCharset, nsIURI *aBaseURI, nsIChannel **result)
|
nsIOService::NewChannel(const nsACString &aSpec, const char *aCharset, nsIURI *aBaseURI, nsIChannel **result)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(false, "Deprecated, use NewChannel2 providing loadInfo arguments!");
|
|
||||||
return NewChannel2(aSpec,
|
return NewChannel2(aSpec,
|
||||||
aCharset,
|
aCharset,
|
||||||
aBaseURI,
|
aBaseURI,
|
||||||
|
Loading…
Reference in New Issue
Block a user