From 2f6fe15d302d4894d204d058464a07fdcba2572e Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Sun, 15 Jul 2018 19:41:30 -0700 Subject: [PATCH] remove annoying warnings from IOService, since we support old extensions --- netwerk/base/nsIOService.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp index 23edde2dd..7471da769 100644 --- a/netwerk/base/nsIOService.cpp +++ b/netwerk/base/nsIOService.cpp @@ -859,7 +859,6 @@ nsIOService::NewChannelFromURIWithProxyFlags2(nsIURI* aURI, aSecurityFlags, aContentPolicyType); } - NS_ASSERTION(loadInfo, "Please pass security info when creating a channel"); return NewChannelFromURIWithProxyFlagsInternal(aURI, aProxyURI, aProxyFlags, @@ -933,7 +932,6 @@ nsIOService::NewChannel2(const nsACString& aSpec, NS_IMETHODIMP nsIOService::NewChannel(const nsACString &aSpec, const char *aCharset, nsIURI *aBaseURI, nsIChannel **result) { - NS_ASSERTION(false, "Deprecated, use NewChannel2 providing loadInfo arguments!"); return NewChannel2(aSpec, aCharset, aBaseURI,