Bug 1607984 - P5. Add missing nsIIdentChannel interface. r=mattwoodrow
☠☠ backed out by 10bf0d7468e0 ☠ ☠
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 15 Apr 2020 15:37:23 +0000
changeset 589023 e02b12515d609cde988a8466475f5cf7a5d6c2dc
parent 589022 7a2ef225a41ed5b997444e6a6632bf359ed34bd8
child 589024 abe692da45563e96c9f7e5f3e8e84b506449ccd6
push id13072
push userffxbld-merge
push dateMon, 04 May 2020 14:22:08 +0000
treeherdermozilla-beta@8a4f45b9a244 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1607984, 1607987
milestone77.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1607984 - P5. Add missing nsIIdentChannel interface. r=mattwoodrow Regressiong from bug 1607987. This prevented from QueryInterface(Ci.nsIIdentChannel) in JS on the channel. Differential Revision: https://phabricator.services.mozilla.com/D70002
netwerk/ipc/DocumentChannel.cpp
--- a/netwerk/ipc/DocumentChannel.cpp
+++ b/netwerk/ipc/DocumentChannel.cpp
@@ -43,16 +43,17 @@ namespace net {
 // DocumentChannel::nsISupports
 
 NS_IMPL_ADDREF(DocumentChannel)
 NS_IMPL_RELEASE(DocumentChannel)
 
 NS_INTERFACE_MAP_BEGIN(DocumentChannel)
   NS_INTERFACE_MAP_ENTRY(nsIRequest)
   NS_INTERFACE_MAP_ENTRY(nsIChannel)
+  NS_INTERFACE_MAP_ENTRY(nsIIdentChannel)
   NS_INTERFACE_MAP_ENTRY(nsITraceableChannel)
   NS_INTERFACE_MAP_ENTRY_CONCRETE(DocumentChannel)
   NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIRequest)
 NS_INTERFACE_MAP_END
 
 DocumentChannel::DocumentChannel(nsDocShellLoadState* aLoadState,
                                  net::LoadInfo* aLoadInfo,
                                  nsLoadFlags aLoadFlags, uint32_t aCacheKey)