mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 569097 - e10s HTTP: Let HttpChannelParent::GetInterface result with NO_INTERFACE for nsIBadCertListener2. r=Jae-Seong.
This commit is contained in:
parent
ff162cbbf5
commit
92481ee7f3
@ -45,6 +45,7 @@
|
||||
#include "nsISupportsPriority.h"
|
||||
#include "nsIAuthPromptProvider.h"
|
||||
#include "nsIDocShellTreeItem.h"
|
||||
#include "nsIBadCertListener2.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace net {
|
||||
@ -263,10 +264,11 @@ HttpChannelParent::GetInterface(const nsIID& aIID, void **result)
|
||||
aIID.Equals(NS_GET_IID(nsIHttpEventSink)) ||
|
||||
// FIXME: application cache (bug 536295):
|
||||
aIID.Equals(NS_GET_IID(nsIApplicationCacheContainer)) ||
|
||||
// FIXME: progress notifications
|
||||
aIID.Equals(NS_GET_IID(nsIProgressEventSink)) ||
|
||||
// FIXME: bug 561830: when fixed, we shouldn't be asked for this interface
|
||||
aIID.Equals(NS_GET_IID(nsIDocShellTreeItem)))
|
||||
aIID.Equals(NS_GET_IID(nsIDocShellTreeItem)) ||
|
||||
// Let this return NS_ERROR_NO_INTERFACE: it's OK to not provide it.
|
||||
aIID.Equals(NS_GET_IID(nsIBadCertListener2)))
|
||||
{
|
||||
return QueryInterface(aIID, result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user