summaryrefslogtreecommitdiffstats
path: root/netwerk/test/browser/browser_cookie_filtering_subdomain.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/browser/browser_cookie_filtering_subdomain.js')
-rw-r--r--netwerk/test/browser/browser_cookie_filtering_subdomain.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/netwerk/test/browser/browser_cookie_filtering_subdomain.js b/netwerk/test/browser/browser_cookie_filtering_subdomain.js
index 78fcdb07dd..4a27eea1e8 100644
--- a/netwerk/test/browser/browser_cookie_filtering_subdomain.js
+++ b/netwerk/test/browser/browser_cookie_filtering_subdomain.js
@@ -5,6 +5,14 @@
"use strict";
+// performing http and https testing within this file,
+// and we do not want https-first to interfere with that test
+Services.prefs.setBoolPref("dom.security.https_first", false);
+
+registerCleanupFunction(function () {
+ Services.prefs.clearUserPref("dom.security.https_first");
+});
+
const {
HTTPS_EXAMPLE_ORG,
HTTPS_EXAMPLE_COM,