bug 1331286 - remove accessibility.ipc_architecture_enabled pref r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Mon, 16 Jan 2017 06:13:39 -0500
changeset 374613 fb95edfbf8574fe65b373f37707b8ace7a44d673
parent 374612 0de700cdb5b672013fdcf277e0dfe8bdd69aac72
child 374614 4269f1d5be3612f9d12c5999d1d707da6d3c8b00
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavidb
bugs1331286
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1331286 - remove accessibility.ipc_architecture_enabled pref r=davidb
accessible/base/nsAccessibilityService.h
modules/libpref/init/all.js
--- a/accessible/base/nsAccessibilityService.h
+++ b/accessible/base/nsAccessibilityService.h
@@ -338,22 +338,17 @@ nsAccessibilityService* GetOrCreateAccSe
 void MaybeShutdownAccService(uint32_t aFormerConsumer);
 
 /**
  * Return true if we're in a content process and not B2G.
  */
 inline bool
 IPCAccessibilityActive()
 {
-#ifdef MOZ_B2G
-  return false;
-#else
-  return XRE_IsContentProcess() &&
-    mozilla::Preferences::GetBool("accessibility.ipc_architecture.enabled", true);
-#endif
+  return XRE_IsContentProcess();
 }
 
 /**
  * Map nsIAccessibleEvents constants to strings. Used by
  * nsAccessibilityService::GetStringEventType() method.
  */
 static const char kEventTypeNames[][40] = {
   "unknown",                                 //
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -854,18 +854,16 @@ pref("canvas.imagebitmap_extensions.enab
 //
 // This pref is checked only once, and the browser needs a restart to
 // pick up any changes.
 //
 // Values are -1 always on. 1 always off, 0 is auto as some platform perform
 // further checks.
 pref("accessibility.force_disabled", 0);
 
-pref("accessibility.ipc_architecture.enabled", true);
-
 pref("accessibility.AOM.enabled", false);
 
 #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
 // to true, you can also try increasing accessibility.delay_plugin_time if your
 // machine is slow and you still experience hangs.
 // See bug 781791.