зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1730935 - Disable Opportunistic Encryption, the feature has a low usage. r=kershaw,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127426
This commit is contained in:
Родитель
689d71600e
Коммит
9bca41ff8b
|
@ -1448,7 +1448,7 @@ pref("network.http.http3.alt-svc-mapping-for-testing", "");
|
|||
// alt-svc allows separation of transport routing from
|
||||
// the origin host without using a proxy.
|
||||
pref("network.http.altsvc.enabled", true);
|
||||
pref("network.http.altsvc.oe", true);
|
||||
pref("network.http.altsvc.oe", false);
|
||||
|
||||
// Turn on 0RTT data for TLS 1.3
|
||||
pref("security.tls.enable_0rtt_data", true);
|
||||
|
|
|
@ -76,6 +76,7 @@ function run_test() {
|
|||
// We always resolve elements of localDomains as it's hardcoded without the
|
||||
// following pref:
|
||||
prefs.setBoolPref("network.proxy.allow_hijacking_localhost", true);
|
||||
prefs.setBoolPref("network.http.altsvc.oe", true);
|
||||
|
||||
// The certificate for the http3server server is for foo.example.com and
|
||||
// is signed by http2-ca.pem so add that cert to the trust list as a
|
||||
|
@ -564,6 +565,7 @@ function testsDone() {
|
|||
prefs.clearUserPref("network.http.http3.enabled");
|
||||
prefs.clearUserPref("network.dns.localDomains");
|
||||
prefs.clearUserPref("network.proxy.allow_hijacking_localhost");
|
||||
prefs.clearUserPref("network.http.altsvc.oe");
|
||||
dump("testDone\n");
|
||||
do_test_pending();
|
||||
h1Server.stop(do_test_finished);
|
||||
|
|
Загрузка…
Ссылка в новой задаче