Bug 1874464 - Disable speculative connections for test_retry_0rtt.js r=necko-reviewers,kershaw

Differential Revision: https://phabricator.services.mozilla.com/D203583
This commit is contained in:
Valentin Gosu 2024-03-05 10:19:53 +00:00
parent faccba9704
commit 0b3f87d615

View file

@ -48,6 +48,12 @@ add_setup(
);
let nssComponent = Cc["@mozilla.org/psm;1"].getService(Ci.nsINSSComponent);
await nssComponent.asyncClearSSLExternalAndInternalSessionCache();
// See Bug 1878505
Services.prefs.setIntPref("network.http.speculative-parallel-limit", 0);
registerCleanupFunction(async () => {
Services.prefs.clearUserPref("network.http.speculative-parallel-limit");
});
}
);