summaryrefslogtreecommitdiffstats
path: root/testing/profiles/mochitest/user.js
blob: 346cde98ee88fde1ffc5097de6a9e7deb0ca57dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);