mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1119979 - hide IPC a11y architecture under pref, r=davidb
This commit is contained in:
parent
8ae9433dfe
commit
99ce7876fa
@ -11,6 +11,7 @@
|
||||
#include "mozilla/a11y/DocManager.h"
|
||||
#include "mozilla/a11y/FocusManager.h"
|
||||
#include "mozilla/a11y/SelectionManager.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
|
||||
#include "nsIObserver.h"
|
||||
|
||||
@ -254,7 +255,8 @@ IPCAccessibilityActive()
|
||||
#ifdef MOZ_B2G
|
||||
return false;
|
||||
#else
|
||||
return XRE_GetProcessType() == GeckoProcessType_Content;
|
||||
return XRE_GetProcessType() == GeckoProcessType_Content &&
|
||||
mozilla::Preferences::GetBool("accessibility.ipc_architecture.enabled", true);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -710,6 +710,8 @@ pref("canvas.path.enabled", true);
|
||||
// further checks.
|
||||
pref("accessibility.force_disabled", 0);
|
||||
|
||||
pref("accessibility.ipc_architecture.enabled", true);
|
||||
|
||||
#ifdef XP_WIN
|
||||
// Some accessibility tools poke at windows in the plugin process during setup
|
||||
// which can cause hangs. To hack around this set accessibility.delay_plugins
|
||||
|
Loading…
Reference in New Issue
Block a user