summaryrefslogtreecommitdiffstats
path: root/testing/profiles/mochitest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /testing/profiles/mochitest
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/profiles/mochitest')
-rw-r--r--testing/profiles/mochitest/user.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/profiles/mochitest/user.js b/testing/profiles/mochitest/user.js
new file mode 100644
index 0000000000..3d21e38562
--- /dev/null
+++ b/testing/profiles/mochitest/user.js
@@ -0,0 +1,14 @@
+// Base preferences file used by the mochitest
+/* globals user_pref */
+/* eslint quotes: 0 */
+
+// XXX: Bug 1617611 - Fix all the tests broken by "cookies SameSite=lax by default"
+user_pref("network.cookie.sameSite.laxByDefault", false);
+
+// Enable blocking access to storage from tracking resources by default.
+// We don't want to run mochitest using BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN (5 - aka Dynamic First Party Isolation) yet.
+user_pref("network.cookie.cookieBehavior", 4);
+
+// Don't restore the last open set of tabs if the browser has crashed
+// or if the profile folder is re-used after an exit(0) fast shutdown.
+user_pref("browser.sessionstore.resume_from_crash", false);