From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- testing/profiles/mochitest/user.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testing/profiles/mochitest/user.js (limited to 'testing/profiles/mochitest') diff --git a/testing/profiles/mochitest/user.js b/testing/profiles/mochitest/user.js new file mode 100644 index 0000000000..346cde98ee --- /dev/null +++ b/testing/profiles/mochitest/user.js @@ -0,0 +1,18 @@ +// 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); + +// Better stacks for errors. +user_pref("javascript.options.asyncstack_capture_debuggee_only", 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); + +// Disable prefers-reduced-motion to ensure that smooth scrolls can be tested. +user_pref("general.smoothScroll", true); -- cgit v1.2.3