Bug 1800751 - Disable network.ssl_tokens_cache_use_only_once for test_proxy_cancel.js, r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D162277
This commit is contained in:
Kershaw Chang 2022-11-17 11:18:56 +00:00
parent a040a8422e
commit bf5f3727e8

View File

@ -6,6 +6,14 @@
/* globals setTimeout */
add_setup(async function setup() {
// TODO: This can be removed once bug 1795831 is fixed.
Services.prefs.setBoolPref("network.ssl_tokens_cache_use_only_once", false);
registerCleanupFunction(async () =>
Services.prefs.clearUserPref("network.ssl_tokens_cache_use_only_once")
);
});
function makeChan(uri) {
let chan = NetUtil.newChannel({
uri,