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 | abf6fd8f2a6a9ba24e641f9965bc5bbb36477c85 (patch) | |
tree | 48a46dfdbf5842a143405aff6d282cddb990ff11 /modules | |
parent | 0257b657d2101d5a2473331d77430a21852564dd (diff) | |
download | uxp-abf6fd8f2a6a9ba24e641f9965bc5bbb36477c85.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); |