summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpChannelAuthProvider.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-07 16:52:33 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-07 16:52:33 +0100
commit7f5d38150dab21a45c48ad2450f28d637bdf46a1 (patch)
tree53db0c0b79d22922eb62f9a0374e777c596a371a /netwerk/protocol/http/nsHttpChannelAuthProvider.h
parentbbc2206a0fda053a6f5071b457bd209dab9ed268 (diff)
downloadUXP-7f5d38150dab21a45c48ad2450f28d637bdf46a1.tar
UXP-7f5d38150dab21a45c48ad2450f28d637bdf46a1.tar.gz
UXP-7f5d38150dab21a45c48ad2450f28d637bdf46a1.tar.lz
UXP-7f5d38150dab21a45c48ad2450f28d637bdf46a1.tar.xz
UXP-7f5d38150dab21a45c48ad2450f28d637bdf46a1.zip
Issue #1275 - Add pref to disable warning prompts for SuperfluousAuth
and AutomaticAuth, and default to not prompting. This resolves #1275.
Diffstat (limited to 'netwerk/protocol/http/nsHttpChannelAuthProvider.h')
-rw-r--r--netwerk/protocol/http/nsHttpChannelAuthProvider.h3
1 files changed, 3 insertions, 0 deletions
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<nsICancelable> mGenerateCredentialsCancelable;
+
+ // Variable holding the preference for anti-spoof auth confirmation prompts.
+ static bool sConfirmAuthPref;
};
} // namespace net