From d58fe9d9c110d2b21e455bdc2b553f66f79ddaf7 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Thu, 5 Jan 2012 21:47:59 -0500 Subject: [PATCH] bug 693343 - comment check of DBUS_SESSION_BUS_ADDRESS --- accessible/src/atk/nsApplicationAccessibleWrap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/accessible/src/atk/nsApplicationAccessibleWrap.cpp b/accessible/src/atk/nsApplicationAccessibleWrap.cpp index c72f6f768fb9..1ba0bf4ec6f2 100644 --- a/accessible/src/atk/nsApplicationAccessibleWrap.cpp +++ b/accessible/src/atk/nsApplicationAccessibleWrap.cpp @@ -884,6 +884,9 @@ PreInit() sChecked = TRUE; // dbus is only checked if GNOME_ACCESSIBILITY is unset + // also make sure that a session bus address is available to prevent dbus from + // starting a new one. Dbus confuses the test harness when it creates a new + // process (see bug 693343) if (PR_GetEnv(sAccEnv) || !PR_GetEnv("DBUS_SESSION_BUS_ADDRESS")) return;