summaryrefslogtreecommitdiffstats
path: root/testing/profiles/mochitest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/profiles/mochitest
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.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.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/profiles/mochitest/user.js b/testing/profiles/mochitest/user.js
new file mode 100644
index 0000000000..08784398f8
--- /dev/null
+++ b/testing/profiles/mochitest/user.js
@@ -0,0 +1,12 @@
+// Base preferences file used by the mochitest
+/* globals user_pref */
+/* eslint quotes: 0 */
+
+// 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);
+
+// Don't enable paint suppression when the background is unknown. While paint
+// is suppressed, synthetic click events and co. go to the old page, which can
+// be confusing for tests that send click events before the first paint.
+user_pref("nglayout.initialpaint.unsuppress_with_no_background", true);