[orca/gnome-3-8] Fix for bug 709573 - Orca can hang on a web page in Firefox



commit ada08c514402ae56e40b92fe4aefbde40bca7c6d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Oct 9 15:51:18 2013 -0400

    Fix for bug 709573 - Orca can hang on a web page in Firefox

 src/orca/scripts/toolkits/Gecko/script.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 16760c4..2c54ae6 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -3976,6 +3976,7 @@ class Script(default.Script):
                                         pyatspi.ROLE_TABLE_CELL] \
                   and self.isUselessObject(nextObj)):
                 toAdd = self.utilities.getObjectsFromEOCs(nextObj, nOffset, boundary)
+                toAdd = [x for x in toAdd if x not in objects]
                 done = True
                 for item in toAdd:
                     itemExtents = self.getExtents(item[0], item[1], item[2])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]