Issue #1275 - Add pref to disable warning prompts for SuperfluousAuth

and AutomaticAuth, and default to not prompting.

This resolves #1275.
This commit is contained in:
wolfbeast 2019-11-07 16:52:33 +01:00 committed by Roy Tam
commit fe92ae641a
3 changed files with 21 additions and 3 deletions

View file

@ -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