diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-14 14:45:33 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-14 14:45:33 +0100 |
commit | e53dfd2167fdbb76c881f26037027736a7c4cdec (patch) | |
tree | 48a46dfdbf5842a143405aff6d282cddb990ff11 /modules | |
parent | 0a60e7c5630dab63b1456d817a7318477174b027 (diff) | |
download | uxp-e53dfd2167fdbb76c881f26037027736a7c4cdec.tar.gz |
No issue - Don't define gamepad prefs when gamepad support isn't built.
This also sets sane defaults when present. See also #1319.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libpref/init/all.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index ec93dd9a20..e1da0386d4 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -215,15 +215,13 @@ pref("dom.requestIdleCallback.enabled", true); // See WD https://www.w3.org/TR/intersection-observer/ pref("dom.intersectionObserver.enabled", true); +#ifdef MOZ_GAMEPAD // Whether the Gamepad API is enabled pref("dom.gamepad.enabled", true); pref("dom.gamepad.test.enabled", false); -#ifdef RELEASE_OR_BETA pref("dom.gamepad.non_standard_events.enabled", false); -#else -pref("dom.gamepad.non_standard_events.enabled", true); -#endif pref("dom.gamepad.extensions.enabled", false); +#endif // Whether the KeyboardEvent.code is enabled pref("dom.keyboardevent.code.enabled", true); |