From b10dd1b7f0c53da9609b87af03d6387bc158b395 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Wed, 26 Feb 2020 20:56:45 +0000 Subject: [PATCH] Bug 1616716 - Don't forward ParentChannelListener QIs to BrowserParent for interfaces it doesn't implement. r=mayhemer Differential Revision: https://phabricator.services.mozilla.com/D63424 --HG-- extra : moz-landing-system : lando --- netwerk/protocol/http/ParentChannelListener.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/netwerk/protocol/http/ParentChannelListener.cpp b/netwerk/protocol/http/ParentChannelListener.cpp index 21bf1e8c4e0b..74c7711e2014 100644 --- a/netwerk/protocol/http/ParentChannelListener.cpp +++ b/netwerk/protocol/http/ParentChannelListener.cpp @@ -150,9 +150,7 @@ ParentChannelListener::GetInterface(const nsIID& aIID, void** result) { return QueryInterface(aIID, result); } - if (aIID.Equals(NS_GET_IID(nsIAuthPromptProvider)) || - aIID.Equals(NS_GET_IID(nsISecureBrowserUI)) || - aIID.Equals(NS_GET_IID(nsIRemoteTab))) { + if (aIID.Equals(NS_GET_IID(nsIAuthPromptProvider))) { if (mBrowserParent) { return mBrowserParent->QueryInterface(aIID, result); }