fune/modules/libpref
Daniel Holbert cad8f463fc Bug 1741469 part 3: Add an off-by-default pref to control whether input type="number"/"range" fields are modified when mousewheel-scrolled. a=dmeehan
The C++ code change here is simply replacing an ifdef with a pref-check (and
associated reindentation for being placed in an "if"-block).

The pref is off-by-default for now, since no other browser seems to modify
these fields through mousewheel scrolling, and users seem to be surprised when
they encounter the behavior in Firefox.  See discussion on the bugzilla page.

Note: now that this behavior is controlled by a pref, we don't need to have
platform-specific #ifdefs and "skip-if" test exemptions. If we decide to bring
this behavior back on certain platforms, we can do so by simply changing the
default value of the pref on those platforms.

Original Revision: https://phabricator.services.mozilla.com/D175719

Differential Revision: https://phabricator.services.mozilla.com/D217523
2024-08-06 14:33:54 +00:00
..
docs
init Bug 1741469 part 3: Add an off-by-default pref to control whether input type="number"/"range" fields are modified when mousewheel-scrolled. a=dmeehan 2024-08-06 14:33:54 +00:00
parser
test Bug 1842549 - Remove dom.mutation-events.cssom.disabled pref r=smaug 2024-06-04 18:38:22 +00:00
components.conf
greprefs.js
moz.build Bug 1894703 - Add the new preference to the static preference list r=padenot 2024-05-23 08:14:17 +00:00
nsIPrefBranch.idl
nsIPrefLocalizedString.idl
nsIPrefService.idl Bug 1054947 - Also check prefs.js last modified time before showing profile reset notification after a long absence, a=RyanVM 2024-06-20 18:26:52 +00:00
nsIRelativeFilePref.idl
nsRelativeFilePref.h
Preferences.cpp Bug 1054947 - Also check prefs.js last modified time before showing profile reset notification after a long absence, a=RyanVM 2024-06-20 18:26:52 +00:00
Preferences.h Bug 1054947 - Also check prefs.js last modified time before showing profile reset notification after a long absence, a=RyanVM 2024-06-20 18:26:52 +00:00
SharedPrefMap.cpp
SharedPrefMap.h
StaticPrefsBase.h