[orca] Don't give up right away in the search for Gecko Zombie parent replicants



commit 5b063b005ba4f32aa7411dc8b6e8cd07b60e8cac
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Jun 2 13:52:43 2015 -0400

    Don't give up right away in the search for Gecko Zombie parent replicants
    
    Hope is the thing with feathers
    That perches in the soul,
    And sings the tune without the words,
    And never stops at all.
                  --Emily Dickinson
    
    Dead accessibles suck.
                  --Me

 .../scripts/toolkits/Gecko/script_utilities.py     |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script_utilities.py 
b/src/orca/scripts/toolkits/Gecko/script_utilities.py
index 8be17d6..772f52e 100644
--- a/src/orca/scripts/toolkits/Gecko/script_utilities.py
+++ b/src/orca/scripts/toolkits/Gecko/script_utilities.py
@@ -1874,6 +1874,9 @@ class Utilities(script_utilities.Utilities):
                 replicant = self.findReplicant(self.documentFrame(), parent)
                 if replicant and not self.isZombie(replicant):
                     parent = replicant
+                elif parent.parent:
+                    obj = parent
+                    continue
                 else:
                     break
 
@@ -1923,6 +1926,9 @@ class Utilities(script_utilities.Utilities):
                 replicant = self.findReplicant(self.documentFrame(), parent)
                 if replicant and not self.isZombie(replicant):
                     parent = replicant
+                elif parent.parent:
+                    obj = parent
+                    continue
                 else:
                     break
 


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