[orca] Don't filter out state-changed:busy events just on the basis of the locusOfFocus



commit fdd2cdff82212686b47c0c99ff8fac43c35ce78a
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Oct 10 12:35:06 2015 -0400

    Don't filter out state-changed:busy events just on the basis of the locusOfFocus
    
    We're seeing false positives when pages have extremely long load times

 src/orca/scripts/web/script.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 1a0be81..750e6be 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1020,11 +1020,6 @@ class Script(default.Script):
             debug.println(debug.LEVEL_INFO, msg)
             return False
 
-        if not self.utilities.inDocumentContent(orca_state.locusOfFocus):
-            msg = "WEB: Ignoring: Locus of focus is not in document content"
-            debug.println(debug.LEVEL_INFO, msg)
-            return True
-
         if self.utilities.getDocumentForObject(event.source.parent):
             msg = "WEB: Ignoring: Event source is nested document"
             debug.println(debug.LEVEL_INFO, msg)


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