diff options
Diffstat (limited to '')
-rw-r--r-- | testing/profiles/mochitest/user.js | 14 |
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); |