Bug 1182097 - Disable ipc accessibility for Firefox 41. r=dbolter, a=ritu
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Mon, 20 Jul 2015 08:53:00 -0400
changeset 281736 d2b1d8febf2cf245f7049118bc81281be2df95e2
parent 281735 76c17325643357d7becf58ed14d794f9054e413b
child 281737 619f2707ec0de0dcc6924e7437a44ddb4b927bc4
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbolter, ritu
bugs1182097
milestone41.0a2
Bug 1182097 - Disable ipc accessibility for Firefox 41. r=dbolter, a=ritu IPC accessibility is not nearly ready for use and causes problems. Its not worth backporting all the patches that would be needed to fix the usability so there's no real point in fixing the crashes it causes. Instead just disable the IPC code.
accessible/base/nsAccessibilityService.h
toolkit/xre/nsAppRunner.cpp
--- a/accessible/base/nsAccessibilityService.h
+++ b/accessible/base/nsAccessibilityService.h
@@ -274,16 +274,17 @@ GetAccService()
 }
 
 /**
  * Return true if we're in a content process and not B2G.
  */
 inline bool
 IPCAccessibilityActive()
 {
+return false;
 #ifdef MOZ_B2G
   return false;
 #else
   return XRE_GetProcessType() == GeckoProcessType_Content &&
     mozilla::Preferences::GetBool("accessibility.ipc_architecture.enabled", true);
 #endif
 }
 
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -1025,17 +1025,17 @@ nsXULAppInfo::GetAccessibilityEnabled(bo
   *aResult = false;
 #endif
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsXULAppInfo::GetAccessibilityIsBlacklistedForE10S(bool* aResult)
 {
-  *aResult = false;
+  *aResult = true;
 #if defined(ACCESSIBILITY)
 #if defined(XP_WIN)
   if (GetAccService() && mozilla::a11y::Compatibility::IsBlacklistedForE10S()) {
     *aResult = true;
   }
 #elif defined(XP_MACOSX)
   if (GetAccService()) {
     *aResult = true;