[orca] Fix for hang in Firefox



commit 0a9953bfdb4e6ec5eee4b78ed66254a1637b60ab
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sun Nov 17 13:22:22 2013 -0500

    Fix for hang 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 7d3ea23..7ea0da3 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -3618,6 +3618,7 @@ class Script(default.Script):
                 toAdd = self.utilities.getObjectsFromEOCs(nextObj, nOffset, boundary)
                 toAdd = [x for x in toAdd if x not in objects]
                 objects.extend(toAdd)
+                done = not toAdd
             elif (nextObj.getRole() in [pyatspi.ROLE_SECTION,
                                         pyatspi.ROLE_TABLE_CELL] \
                   and self.isUselessObject(nextObj)):


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