orca r3584 - in trunk: . src/orca



Author: joanied
Date: Fri Feb 15 18:54:43 2008
New Revision: 3584
URL: http://svn.gnome.org/viewvc/orca?rev=3584&view=rev

Log:
* src/orca/Gecko.py: 
  Fix for bug #516121 - Orca stalls on barackobama.com when
  navigating by heading in FF3.



Modified:
   trunk/ChangeLog
   trunk/src/orca/Gecko.py

Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py	(original)
+++ trunk/src/orca/Gecko.py	Fri Feb 15 18:54:43 2008
@@ -7063,6 +7063,8 @@
                      and state.contains(pyatspi.STATE_FOCUSABLE) \
                      and not self.isAriaWidget(previousObj):
                     break
+                elif previousObj.childCount > 1000:
+                    break
 
                 index = previousObj.childCount - 1
                 while index >= 0:
@@ -7115,6 +7117,8 @@
             and obj.getState().contains(pyatspi.STATE_FOCUSABLE) \
             and not self.isAriaWidget(obj):
             descend = False
+        elif obj.childCount > 1000:
+            descend = False
         else:
             descend = True
 



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