From 7f5d38150dab21a45c48ad2450f28d637bdf46a1 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 7 Nov 2019 16:52:33 +0100 Subject: Issue #1275 - Add pref to disable warning prompts for SuperfluousAuth and AutomaticAuth, and default to not prompting. This resolves #1275. --- netwerk/protocol/http/nsHttpChannelAuthProvider.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'netwerk/protocol/http/nsHttpChannelAuthProvider.h') diff --git a/netwerk/protocol/http/nsHttpChannelAuthProvider.h b/netwerk/protocol/http/nsHttpChannelAuthProvider.h index 0d6045875..18172e60f 100644 --- a/netwerk/protocol/http/nsHttpChannelAuthProvider.h +++ b/netwerk/protocol/http/nsHttpChannelAuthProvider.h @@ -185,6 +185,9 @@ private: static uint32_t sAuthAllowPref; static bool sImgCrossOriginAuthAllowPref; nsCOMPtr mGenerateCredentialsCancelable; + + // Variable holding the preference for anti-spoof auth confirmation prompts. + static bool sConfirmAuthPref; }; } // namespace net -- cgit v1.2.3