mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1926989 - Fixed typo in pref dom.security.https_first_add_exception_on_failiure. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228219
This commit is contained in:
parent
0555343742
commit
7a55731da0
@ -556,7 +556,7 @@ nsHTTPSOnlyUtils::PotentiallyDowngradeHttpsFirstRequest(
|
||||
uri, true);
|
||||
|
||||
if (mozilla::StaticPrefs::
|
||||
dom_security_https_first_add_exception_on_failiure()) {
|
||||
dom_security_https_first_add_exception_on_failure()) {
|
||||
AddHTTPSFirstException(uri, loadInfo);
|
||||
}
|
||||
|
||||
|
@ -229,7 +229,7 @@ async function runTest() {
|
||||
|
||||
SpecialPowers.pushPrefEnv({ set: [
|
||||
["dom.security.https_first", true],
|
||||
["dom.security.https_first_add_exception_on_failiure", false],
|
||||
["dom.security.https_first_add_exception_on_failure", false],
|
||||
["network.http.referer.disallowCrossSiteRelaxingDefault", false],
|
||||
]}, runTest);
|
||||
|
||||
|
@ -4077,7 +4077,7 @@
|
||||
|
||||
# If true, will add a special temporary HTTPS-First exception for a site when a
|
||||
# HTTPS-First upgrade fails.
|
||||
- name: dom.security.https_first_add_exception_on_failiure
|
||||
- name: dom.security.https_first_add_exception_on_failure
|
||||
type: RelaxedAtomicBool
|
||||
value: true
|
||||
mirror: always
|
||||
|
@ -6180,7 +6180,7 @@ nsresult HttpBaseChannel::CheckRedirectLimit(nsIURI* aNewURI,
|
||||
// upgrade behavior if we have upgrade-downgrade loop to break the loop and
|
||||
// load the http request next
|
||||
if (mozilla::StaticPrefs::
|
||||
dom_security_https_first_add_exception_on_failiure() &&
|
||||
dom_security_https_first_add_exception_on_failure() &&
|
||||
nsHTTPSOnlyUtils::IsUpgradeDowngradeEndlessLoop(
|
||||
mURI, aNewURI, mLoadInfo,
|
||||
{nsHTTPSOnlyUtils::UpgradeDowngradeEndlessLoopOptions::
|
||||
|
Loading…
Reference in New Issue
Block a user